-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
28 lines (26 loc) · 824 Bytes
/
Copy pathcompose.yml
File metadata and controls
28 lines (26 loc) · 824 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
services:
backend:
image: echx-backend:prod
labels :
- "traefik.enable=true"
- "traefik.http.routers.api-echx.rule=Host(`api.echx.app`)"
- "traefik.http.routers.api-echx.entrypoints=websecure"
- "traefik.http.routers.api-echx.tls.certresolver=myresolver"
- "traefik.http.services.api-echx.loadbalancer.server.port=8080"
networks:
- traefik
frontend:
image: echx-frontend:prod
depends_on:
- backend
labels :
- "traefik.enable=true"
- "traefik.http.routers.echx.rule=Host(`echx.app`)"
- "traefik.http.routers.echx.entrypoints=websecure"
- "traefik.http.routers.echx.tls.certresolver=myresolver"
- "traefik.http.services.echx.loadbalancer.server.port=80"
networks:
- traefik
networks:
traefik:
external: true