-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
114 lines (105 loc) · 2.88 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: "3"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./certs:/etc/nginx/certs
- ./vhost:/etc/nginx/vhost.d
- ./html:/usr/share/nginx/html
nginx-proxy-acme:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certs:/etc/nginx/certs
- ./vhost:/etc/nginx/vhost.d
- ./html:/usr/share/nginx/html
- ./acme:/etc/acme.sh
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
frontend:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-frontend
container_name: frontend
expose:
- 80
restart: always
environment:
- VIRTUAL_HOST=stormai.live
- LETSENCRYPT_HOST=stormai.live
authserver:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-auth-server
container_name: authservice
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/stormai
- VIRTUAL_HOST=auth.stormai.live
- LETSENCRYPT_HOST=auth.stormai.live
- SPRING_REDIRECT_URL = https://stormai.live
expose:
- 5500
depends_on:
- postgres
restart: always
postgres:
container_name: postgres
image: postgres:15.2
restart: always
environment:
POSTGRES_USER: stormai
POSTGRES_PASSWORD: stormai
volumes:
- /postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
mongodb_container:
image: mongo:latest
ports:
- 27017:27017
volumes:
- mongodb_container:/data/db
nodeserver:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-node-server
container_name: nodeserver
environment:
- VIRTUAL_HOST=node.stormai.live
- LETSENCRYPT_HOST=node.stormai.live
- OPENAI_API_KEY=INSERTHERE
- HUGGINGFACE_API_KEY=INSERTHERE
expose:
- 5000
restart: always
paymentserver:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-payment-server
container_name: paymentservice
environment:
- VIRTUAL_HOST=payment.stormai.live
- LETSENCRYPT_HOST=payment.stormai.live
- STRIPE_API_KEY=INSERTHERE
expose:
- 3001
restart: always
roomserver:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-room-server
container_name: roomservice
environment:
- VIRTUAL_HOST=room.stormai.live
- LETSENCRYPT_HOST=room.stormai.live
expose:
- 5555
restart: always
depends_on:
- mongodb_container
signalingserver:
image: ghcr.io/uoft-utsc-cs-sandbox/stormai-signaling-server
container_name: signalingserver
expose:
- 4444
environment:
- VIRTUAL_HOST=signaling.stormai.live
- LETSENCRYPT_HOST=signaling.stormai.live
restart: always