twigs/docker-compose.yml

30 lines
433 B
YAML
Raw Permalink Normal View History

version: "3.3"
services:
2021-06-15 00:06:47 +00:00
twigs:
build: .
ports:
- "8080:8080"
depends_on:
- db
environment:
2021-08-12 21:22:06 +00:00
TWIGS_DB_HOST: db
TWIGS_DB_TYPE: postgresql
2021-06-15 00:06:47 +00:00
networks:
- twigs
2021-06-15 00:06:47 +00:00
db:
2021-08-12 21:22:06 +00:00
image: postgres:13
2021-06-15 00:06:47 +00:00
ports:
2021-08-12 21:22:06 +00:00
- "5432:5432"
2021-06-15 00:06:47 +00:00
environment:
2021-08-12 21:22:06 +00:00
POSTGRES_DB: twigs
POSTGRES_USER: twigs
POSTGRES_PASSWORD: twigs
2021-06-15 00:06:47 +00:00
networks:
- twigs
hostname: db
networks:
2021-06-15 00:06:47 +00:00
twigs: