forum/docker-compose.yml

28 lines
489 B
YAML
Raw Normal View History

2019-06-27 12:03:08 +02:00
version: "3.4"
2017-04-22 20:29:25 +02:00
services:
2019-06-27 12:03:08 +02:00
php:
build:
context: .
2019-12-03 21:00:08 +01:00
target: symfony_php
2017-10-26 14:51:56 +02:00
args:
SYMFONY_VERSION: ${SYMFONY_VERSION:-}
STABILITY: ${STABILITY:-stable}
2020-06-11 19:46:15 +02:00
SERVER_NAME: ${SERVER_NAME:-localhost}
2019-12-03 21:00:08 +01:00
healthcheck:
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
environment:
SYMFONY_VERSION:
2017-04-22 20:29:25 +02:00
nginx:
build:
context: .
2019-12-03 21:00:08 +01:00
target: symfony_nginx
depends_on:
2019-06-27 12:03:08 +02:00
- php
ports:
2019-06-27 12:03:08 +02:00
- "80:80"