chore: use env variables in docker-compose.yml

This commit is contained in:
2025-05-18 17:00:36 +02:00
parent 760b526e2c
commit 31c5857435

View File

@@ -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