forked from HSU-Talky/Talky-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (49 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
52 lines (49 loc) · 1.08 KB
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
services:
fastapi:
image: ${DOCKER_USERNAME}/talky-ai:latest
container_name: fastapi
ports:
- "8000:8000"
environment:
- TZ=Asia/Seoul
env_file:
- .env
restart: always
networks:
- talky-network
spring:
image: ${DOCKER_USERNAME}/talky-backend:latest
container_name: spring
ports:
- "8080:8080"
environment:
- TZ=Asia/Seoul
- AI_SERVER_URL=http://fastapi:8000
env_file:
- .env
restart: always
networks:
- talky-network
depends_on:
- fastapi
nginx:
image: nginx:latest
container_name: nginx
ports:
- "80:80"
- "443:443"
environment:
- TZ=Asia/Seoul
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- /etc/letsencrypt/live/43.200.236.115.nip.io/fullchain.pem:/etc/nginx/certs/fullchain.pem
- /etc/letsencrypt/live/43.200.236.115.nip.io/privkey.pem:/etc/nginx/certs/privkey.pem
restart: always
networks:
- talky-network
depends_on:
- spring
- fastapi
networks:
talky-network:
driver: bridge