twigs/docker-compose.yml

28 lines
417 B
YAML
Raw Normal View History

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:
2024-07-07 11:01:45 +00:00
image: postgres:16
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: