forked from muety/wakapi
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcompose.yml
More file actions
27 lines (25 loc) · 746 Bytes
/
compose.yml
File metadata and controls
27 lines (25 loc) · 746 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
services:
wakapi:
build: .
ports:
- 3000:3000
restart: always
environment:
# See README.md and config.default.yml for all config options
WAKAPI_DB_TYPE: 'postgres'
WAKAPI_DB_NAME: 'wakapi'
WAKAPI_DB_USER: 'wakapi'
WAKAPI_DB_PASSWORD: 'choose-a-password'
WAKAPI_DB_HOST: 'db'
WAKAPI_DB_PORT: '5432'
ENVIRONMENT: 'prod'
db:
image: postgres:12.3
environment:
POSTGRES_USER: 'wakapi'
POSTGRES_PASSWORD: 'choose-a-password'
POSTGRES_DB: 'wakapi'
volumes:
- wakapi-db-data:/var/lib/postgresql/data
volumes:
wakapi-db-data: {}