-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.32 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
version: "3.9"
services:
server:
build: ./server
restart: unless-stopped
ports:
- 3978:${PORT}
networks:
- sudarshan-network
depends_on:
- redis
- mongodb
environment:
JWT_SECRET: ${JWT_SECRET}
JWT_ALGO: ${JWT_ALGO}
MONGODB_URI: ${MONGODB_URI}
DB_NAME: ${DB_NAME}
PORT: ${PORT}
NODE_ENV: ${NODE_ENV}
AZURE_EMAIL_CONNECTION_STRING: ${AZURE_EMAIL_CONNECTION_STRING}
AZURE_EMAIL_SENDER: ${AZURE_EMAIL_SENDER}
AZURE_BLOB_STORAGE_CONNECTION_STRING: ${AZURE_BLOB_STORAGE_CONNECTION_STRING}
GOOGLE_CLOUD_MAPS_API_KEY: ${GOOGLE_CLOUD_MAPS_API_KEY}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
mock-dustbins:
build: ./mock-dustbins
restart: unless-stopped
ports:
- 3977:4001
networks:
- sudarshan-network
mongodb:
image: mongo
restart: unless-stopped
networks:
- sudarshan-network
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: admin
MONGO_INITDB_DATABASE: dev
volumes:
- sudarshan-volume:/data/db
redis:
image: "bitnami/redis:latest"
restart: unless-stopped
environment:
- ALLOW_EMPTY_PASSWORD=yes
networks:
- sudarshan-network
networks:
sudarshan-network:
volumes:
sudarshan-volume: