learn-request-queue/docker-compose.yml

22 lines
451 B
YAML
Raw Normal View History

2020-06-24 21:34:53 +00:00
version: '3.8'
services:
app:
container_name: learn-request-queue
build: .
depends_on:
- db
volumes:
- .:/home/app
environment:
PGHOST: db
PGDATABASE: postgres
PGUSER: postgres
2020-07-04 18:29:07 +00:00
SESSION_SECRET: REPLACE_THIS_SECRET
2020-06-24 21:34:53 +00:00
db:
container_name: learn-request-queue-db
image: postgres
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- ./db:/docker-entrypoint-initdb.d