13 lines
345 B
YAML
13 lines
345 B
YAML
services:
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: cftunnel-db-${ENV}
|
|
environment:
|
|
POSTGRES_DB: cftunnel
|
|
POSTGRES_USER: ${POSTGRES_USERNAME}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${DB_PORT}:5432"
|
|
volumes:
|
|
- ${DB_PATH}:/var/lib/postgresql/data |