-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
47 lines (41 loc) · 902 Bytes
/
compose.yaml
File metadata and controls
47 lines (41 loc) · 902 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:
db:
image: postgres:14
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: ocx-loader
app:
build: .
ports:
- "3015:3000"
environment:
DATABASE_URL: postgres://user:password@db:5432/ocx-loader
REDIS_URL: redis://redis:6379
SESSION_SECRET_KEY: "abcdedfghijklmnopqrstuvwxyz0123456789"
NODE_ENV: production
depends_on:
- db
- redis
worker:
build: .
command: yarn worker
environment:
DATABASE_URL: postgres://user:password@db:5432/ocx-loader
REDIS_URL: redis://redis:6379
NODE_ENV: production
depends_on:
- db
- redis
redis:
image: redis:6.2
ports:
- "6379:6379"
mailhog:
image: mailhog/mailhog
ports:
- "1025:1025" # SMTP server
- "8025:8025" # Web interface
volumes:
db-data: