-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.26 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
version: '3'
services:
back:
image: sikgates/newimage:latest # Docker Hub에서 가져오기
ports:
- "5001:5001"
volumes:
- ./back:/app
- /app/node_modules
environment:
- TZ=Etc/UTC
- MONGO_PW=PAD0MzMGKxsDGwsR
- REDIS_HOST=redis-14438.c281.us-east-1-2.ec2.redns.redis-cloud.com
- REDIS_PORT=14438
- REDIS_USERNAME=default
- REDIS_PASSWORD=AoWvAXv3JTPRBrgwxRX58G9AVxFhQzpj
- GOOGLE_APPLICATION_CREDENTIALS=/back/campuscoffee-83cbf-74f467acc07d.json
depends_on:
- redis
- rabbitmq
command: node app.js
networks:
- app_network
rabbitmq:
image: heidiks/rabbitmq-delayed-message-exchange:4.0.2-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
- TZ=Etc/UTC
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
networks:
- app_network
redis:
image: redis:7.4.2
container_name: redis
ports:
- "6379:6379"
environment:
- TZ=Etc/UTC
command: ["redis-server", "--requirepass", "yourpassword", "--notify-keyspace-events", "KEA"]
networks:
- app_network
networks:
app_network:
driver: bridge