learn-request-queue/docker-compose.yml

18 lines
344 B
YAML

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