CFTunnels/postgres-docker-compose.yaml

16 lines
302 B
YAML

services:
postgres:
image: postgres
container_name: cftunnel-db
restart: always
environment:
POSTGRES_DB: cftunnel
POSTGRES_USER: root
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: