2020-10-25 09:21:41 +03:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
wakapi:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
restart: always
|
|
|
|
environment:
|
2021-04-11 13:42:43 +03:00
|
|
|
# See README.md and config.default.yml for all config options
|
2020-10-25 09:21:41 +03:00
|
|
|
WAKAPI_DB_TYPE: "postgres"
|
|
|
|
WAKAPI_DB_NAME: "wakapi"
|
|
|
|
WAKAPI_DB_USER: "wakapi"
|
2021-04-11 13:42:43 +03:00
|
|
|
WAKAPI_DB_PASSWORD: "choose-a-password"
|
2020-10-25 09:21:41 +03:00
|
|
|
WAKAPI_DB_HOST: "db"
|
|
|
|
WAKAPI_DB_PORT: "5432"
|
2020-10-27 00:34:50 +03:00
|
|
|
ENVIRONMENT: "prod"
|
2020-10-25 09:21:41 +03:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:12.3
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "wakapi"
|
2021-04-11 13:42:43 +03:00
|
|
|
POSTGRES_PASSWORD: "choose-a-password"
|
2020-10-25 09:21:41 +03:00
|
|
|
POSTGRES_DB: "wakapi"
|
2022-04-24 14:33:42 +03:00
|
|
|
volumes:
|
|
|
|
- wakapi-db-data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
wakapi-db-data: {}
|