mirror of
https://github.com/esauflores/databases.git
synced 2026-03-09 06:30:34 +00:00
16 lines
405 B
YAML
16 lines
405 B
YAML
services:
|
|
postgres:
|
|
image: git.fastwaydata.com/esauflores/db-postgres:base
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
|
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
|
ports:
|
|
- "${POSTGRES_PORT:-5432}:5432"
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql
|
|
|
|
volumes:
|
|
postgres-data:
|