/
docker-compose.yaml
51 lines (42 loc) · 943 Bytes
/
docker-compose.yaml
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
46
47
48
49
50
51
version: '3'
services:
traefik:
image: "traefik:latest"
container_name: "traefik-p51"
ports:
- "80:80"
- "443:443"
volumes:
- ./traefik:/etc/traefik
- /var/run/docker.sock:/var/run/docker.sock:ro
- traefik-ssl-certs:/ssl-certs
networks:
- traefik-public-p51
env_file:
- .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
dev-frontend:
container_name: dev-frontend
image: brianoflondon/v4vapp-frontend-v2:develop
restart: always
labels:
# Enable Traefik for this specific "api" service
- traefik.enable=true
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
networks:
- traefik-public-p51
networks:
traefik-public-p51:
driver: bridge
volumes:
traefik-ssl-certs:
driver: local