waffle/docker-compose.yml
2022-04-27 23:51:08 +03:00

24 lines
527 B
YAML

version: "3.9"
services:
waffle-postgres:
image: postgres
volumes:
- ./tmp/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=waffle
- POSTGRES_USER=waffle
- POSTGRES_PASSWORD=supersecretpassword11
waffle:
build: .
ports:
- "5002:3000"
volumes:
- .:/app
environment:
- JWT_SECRET=__jwtsecretgoeshere__
- PGUSER=waffle
- PGHOST=waffle-postgres
- PGPASSWORD=supersecretpassword11
- PGDATABASE=waffle
depends_on:
- db