2020-05-26 01:24:26 +00:00
|
|
|
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
|
2024-04-17 03:14:35 +00:00
|
|
|
TWIGS_DB_TYPE: postgresql
|
2021-06-15 00:06:47 +00:00
|
|
|
networks:
|
|
|
|
- twigs
|
2020-05-26 01:24:26 +00:00
|
|
|
|
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
|
2020-05-26 01:24:26 +00:00
|
|
|
|
|
|
|
networks:
|
2021-06-15 00:06:47 +00:00
|
|
|
twigs:
|