teldrive/docker/compose/postgres.yml
2024-10-19 16:11:13 +02:00

16 lines
399 B
YAML

services:
postgres_db:
image: ghcr.io/tgdrive/postgres:17-alpine
container_name: postgres_db
restart: always
networks:
- postgres
environment:
- POSTGRES_USER=teldrive
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=postgres
volumes:
- ./postgres_data:/var/lib/postgresql/data
networks:
postgres:
external: true