-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
44 lines (42 loc) · 1.09 KB
/
docker-compose.yaml
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
version: "3.8"
services:
jerni-3:
image: "jerni-3"
build:
context: .
# command: ["bun", "run", "index.ts"]
environment:
- RUNTIME_ENV=production
- NODE_ENV=production
# dev events
# - EVENTS_SERVER=https://events-dev.bodidata.com/api/namespace/main
# - EVENTS_SERVER_KEY=quan-localhost
# - EVENTS_SERVER_SECRET=cUIwj6IcmYzXJUIxX1VaD1Bpgwx3ayRuxGfLCZvoCyO_rc0P
# prod events
- EVENTS_SERVER=https://events.bodidata.com/api/namespace/main
- EVENTS_SERVER_KEY=partners-portal-prod
- EVENTS_SERVER_SECRET=k6oS5ODoLd85GnI81H_oVjP8JAImxwDz9Xmp0fscKOhR402F
- MONGODB_DBNAME=partners_portal_local_1
- MONGODB_URL=mongodb://mongodb_v4.2:27017
deploy:
resources:
limits:
cpus: "1"
memory: 128MB
# volumes:
# - jerni-3:/usr/app/data
depends_on:
- mongodb_v4.2
networks:
- default
mongodb_v4.2:
image: mongo:4.2
ports:
- 27017:27017
volumes:
- mongodb_v4.2:/data/db
networks:
- default
volumes:
mongodb_v4.2:
jerni-3: