-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yaml
63 lines (59 loc) · 1.08 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.3"
services:
#-------------- APP
app:
image: justdimmy/fintech:latest
restart: unless-stopped
ports:
- "${PORT}:${PORT}"
depends_on:
- db
environment:
- PORT
- NODE_ENV
- IS_DRY_RUN
- CHECK_ON_START
- BASE_URL
- TOKEN
- DELAY
- DAYS
- SLOW
- FAST
- DB_HOST
- DB_PORT
- POSTGRES_USER
- POSTGRES_DB
- POSTGRES_PASSWORD
- SENTRY_DSN
- HTTP_USER
- HTTP_PASS
logging:
options:
max-size: "10M"
max-file: "10"
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144
#-------------- DB
db:
image: postgres:12.3-alpine
restart: unless-stopped
ports:
- "${DB_PORT}:5432"
environment:
- POSTGRES_USER
- POSTGRES_DB
- POSTGRES_PASSWORD
volumes:
- ./dbdata:/var/lib/postgresql/data
logging:
options:
max-size: "10M"
max-file: "10"
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144