-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
43 lines (40 loc) · 845 Bytes
/
compose.yml
File metadata and controls
43 lines (40 loc) · 845 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
services:
six-oclock:
build: .
container_name: six-oclock
restart: unless-stopped
env_file:
- .env
environment:
PORT: 34571
DB_HOST: six-oclock-postgres
DB_PORT: 5432
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: six_oclock
DATA_DIR: /data
NODE_ENV: production
ports:
- "34571:34571"
volumes:
- ./data:/data
depends_on:
- six-oclock-postgres
networks:
- default
six-oclock-postgres:
image: postgres:latest
container_name: six-oclock-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: six_oclock
volumes:
- postgres-data:/var/lib/postgresql
networks:
- default
volumes:
postgres-data:
networks:
default: