learn-request-queue/docker-compose.yml

22 lines
404 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
2020-08-07 21:07:28 +00:00
ports:
- "5432:5432"
2020-06-24 21:34:53 +00:00
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- ./db:/docker-entrypoint-initdb.d