-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 866 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.4"
services:
phpinfo:
image: 4xxi/united-php:${PHP_VERSION}
build:
context: .
dockerfile: ./Dockerfile
# target: united_app_dev
target: united_app
volumes:
- ./demo/info:/srv/app/public
restart: unless-stopped
ports:
- 8080:8080
# Have to enable TTY
tty: true
networks:
- container
healthcheck:
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
symfony:
image: 4xxi/united-php:${PHP_VERSION}
build:
context: ./demo/symfony
dockerfile: ./Dockerfile
target: symfony_app
restart: unless-stopped
ports:
- 8181:8080
# Have to enable TTY
tty: true
networks:
- container
healthcheck:
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
networks:
container: