learn-request-queue/docker-compose.yml

20 lines
373 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
ports:
- "80:3000"
2020-07-05 02:04:21 +00:00
env_file: .env
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