learn-request-queue/docker-compose.yml

21 lines
409 B
YAML

version: '3.8'
services:
app:
container_name: learn-request-queue
build: .
depends_on:
- db
volumes:
- .:/home/app
environment:
PGHOST: db
PGDATABASE: postgres
PGUSER: postgres
db:
container_name: learn-request-queue-db
image: postgres
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- ./db:/docker-entrypoint-initdb.d