Merge pull request #33 from maxhelias/fix-dc
Fix docker-compose after all dockerfile in one
This commit is contained in:
commit
76aaa44293
@ -1,9 +1,10 @@
|
|||||||
version: '3'
|
version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
target: symfony_docker_php
|
||||||
args:
|
args:
|
||||||
SYMFONY_VERSION: ${SYMFONY_VERSION}
|
SYMFONY_VERSION: ${SYMFONY_VERSION}
|
||||||
STABILITY: ${STABILITY}
|
STABILITY: ${STABILITY}
|
||||||
@ -21,7 +22,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./Dockerfile.nginx
|
target: symfony_docker_nginx
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
volumes:
|
volumes:
|
||||||
@ -35,7 +36,7 @@ services:
|
|||||||
h2-proxy:
|
h2-proxy:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./Dockerfile.h2-proxy
|
target: symfony_docker_h2-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/h2-proxy/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./docker/h2-proxy/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user