-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (41 loc) · 888 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (41 loc) · 888 Bytes
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.8"
services:
nginx_proxy:
image: nginx:1.25.1-alpine
container_name: nginx_proxy
ports:
- 80:80
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
networks:
- corp
node_server:
container_name: node_server
build:
context: ./
dockerfile: ./Dockerfile
ports:
- 3000:3000
networks:
- corp
flask_api:
container_name: flask_api
build:
context: ./flask-api # flask API의 Dockerfile이 있는 경로를 지정 부탁
dockerfile: ./Dockerfile
ports:
- 5000:5000 # flask API의 포트를 지정부탁
networks:
- corp
redis_server:
image: redis:latest
container_name: redis_server
ports:
- 13130:13130
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
networks:
- corp
networks:
corp:
driver: bridge