-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (37 loc) · 1.18 KB
/
docker-compose.yml
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
version: '3'
services:
pixel-server:
build:
context: .
dockerfile: src/pixel_server/Dockerfile
args:
- GIT_COMMIT_HASH
restart: on-failure
networks:
- intranet
labels:
- "traefik.enable=true"
- "traefik.http.routers.pixel-server.rule=Host(`pixel.chunyu.sh`)"
- "traefik.http.services.pixel-server.loadbalancer.server.port=8080"
- "traefik.http.routers.pixel-server.entrypoints=websecure"
- "traefik.http.routers.pixel-server.tls=true"
- "traefik.http.routers.pixel-server.tls.certresolver=tlschallenge"
backend-api:
build:
context: .
dockerfile: src/backend_api/Dockerfile
args:
- GIT_COMMIT_HASH
restart: on-failure
networks:
- intranet
labels:
- "traefik.enable=true"
- "traefik.http.routers.pixel-server.rule=Host(`mailer.chunyu.sh`)"
- "traefik.http.services.pixel-server.loadbalancer.server.port=5000"
- "traefik.http.routers.pixel-server.entrypoints=websecure"
- "traefik.http.routers.pixel-server.tls=true"
- "traefik.http.routers.pixel-server.tls.certresolver=tlschallenge"
networks:
intranet:
name: network_intranet