-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (58 loc) · 1.31 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
48
49
50
51
52
53
54
55
56
57
58
59
version: '3.8'
services:
proxy:
build:
context: .
dockerfile: proxy/Dockerfile
image: ct2-proxy
ports:
- "8443:8443"
- "8080:8080"
environment:
- JWT_PEM=/certs/jwt-key.pem
- CA_CERT=/certs/rootCA.pem
- SERVER_CERT=/certs/server-cert.pem
- SERVER_KEY=/certs/server-key.pem
volumes:
- ./data/certs:/certs
gaia-backend:
build:
context: .
dockerfile: gaia/gaia-backend/Dockerfile
image: ct2-gaia-backend
ports:
- "8081:8081"
environment:
- "DB_URI=sqlite:///data/db.db"
- "JWT_PEM_LOC=/certs/jwt-key.pem"
- "PASETO_KEY=12345679801234567980123456798012"
volumes:
- ./data/gaia-backend:/data
- ./data/certs:/certs
gaia-frontend:
build:
context: gaia/gaia-frontend/
dockerfile: Dockerfile
image: ct2-gaia-frontend
ports:
- "8082:80"
router:
build:
context: .
dockerfile: router/Dockerfile
image: ct2-router
ports:
- "8083:8082"
environment:
- "DB_URI=sqlite:///data/db.db"
- "RUST_LOG=debug"
- "HMAC_KEY=12345679801234567980123456798012"
volumes:
- ./data/router:/data
- ./data/certs:/certs
dashboard:
build:
context: dashboard/
dockerfile: Dockerfile
ports:
- "8084:3000"