learn-request-queue/docker-compose.yml

22 lines
404 B
YAML

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