28 lines
602 B
YAML
28 lines
602 B
YAML
services:
|
|
db:
|
|
image: postgres:17
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=zkill
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ./postgres_data:/var/lib/postgresql/data
|
|
|
|
dbgate:
|
|
image: dbgate/dbgate
|
|
volumes:
|
|
- ./dbgate-data:/root/.dbgate
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
CONNECTIONS: con1
|
|
LABEL_con1: Postgres
|
|
SERVER_con1: db
|
|
USER_con1: postgres
|
|
PASSWORD_con1: postgres
|
|
PORT_con1: 5432
|
|
ENGINE_con1: postgres@dbgate-plugin-postgres
|
|
depends_on:
|
|
- db |