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