23 lines
382 B
YAML
23 lines
382 B
YAML
services:
|
|
db:
|
|
container_name: apfelnetzwerk-postgres
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_DB: apfel
|
|
POSTGRES_USER: apfel
|
|
POSTGRES_PASSWORD: apfel
|
|
PGDATA: /data/postgres
|
|
volumes:
|
|
- db:/data/postgres
|
|
ports:
|
|
- "5432:5432"
|
|
networks:
|
|
- db
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
db:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
db: |