forum/docker-compose.yml
2020-10-14 23:32:19 +02:00

28 lines
489 B
YAML

version: "3.4"
services:
php:
build:
context: .
target: symfony_php
args:
SYMFONY_VERSION: ${SYMFONY_VERSION:-}
STABILITY: ${STABILITY:-stable}
SERVER_NAME: ${SERVER_NAME:-localhost}
healthcheck:
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
environment:
SYMFONY_VERSION:
nginx:
build:
context: .
target: symfony_nginx
depends_on:
- php
ports:
- "80:80"