forked from jphacks/B_2211
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 1.3 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
39
40
41
42
43
44
45
46
47
version: '3.1'
services:
traefik:
image: "traefik:v2.5"
container_name: "traefik"
command:
#- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
state-sync:
build: ./state-sync
# image: "ghcr.io/csenet/qusahaiel/state-sync:latest"
container_name: jphacks_state-sync
labels:
- "traefik.enable=true"
- --port=8080
- "traefik.http.routers.state-sync.rule=PathPrefix(`/state`)"
- "traefik.http.routers.state-sync.entrypoints=web"
kusa-api:
build: ./back
# image: "ghcr.io/csenet/qusahaiel/kusa-api:latest"
container_name: jphacks_kusa-api
labels:
- --port=8000
- "traefik.enable=true"
- "traefik.http.routers.kusa-api.rule=PathPrefix(`/grass`)"
- "traefik.http.routers.kusa-api.entrypoints=web"
front:
build: ./front
# image: "ghcr.io/csenet/qusahaiel/front:latest"
container_name: jphacks_front
labels:
- "traefik.enable=true"
- --port=3000
- "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.front.rule=PathPrefix(`/`)"