Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (28 sloc) 801 Bytes
version: "3"
services:
prest:
build: .
links:
- "postgres:postgres"
environment:
- PREST_DEBUG=true # remove comment for enable DEBUG mode (disable JWT)
- PREST_PG_HOST=postgres
- PREST_PG_USER=prest
# - PREST_PG_PASS=prest
- PREST_PG_DATABASE=prest
- PREST_PG_PORT=5432
- PREST_JWT_DEFAULT=false # remove if need jwt
depends_on:
- postgres
ports:
- "3000:3000"
postgres:
image: postgres:9.6
volumes:
- "./data:/var/lib/postgresql/data"
environment:
- POSTGRES_USER=prest
- POSTGRES_DB=prest
# - POSTGRES_PASSWORD=prest
ports:
- "5432:5432"