chore: use env variables in docker-compose.yml
This commit is contained in:
@@ -4,13 +4,13 @@ services:
|
|||||||
web:
|
web:
|
||||||
build: ./app
|
build: ./app
|
||||||
ports:
|
ports:
|
||||||
- "8000:80"
|
- "${APP_PORT}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./app/html:/var/www/html
|
- ./app/html:/var/www/html
|
||||||
depends_on:
|
depends_on:
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
image: php:8.4-fpm
|
image: php:${PHP_VERSION}-fpm
|
||||||
volumes:
|
volumes:
|
||||||
- ./app/html:/var/www/html
|
- ./app/html:/var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user