mirror of
https://github.com/esauflores/databases.git
synced 2026-03-09 06:30:34 +00:00
refactor: moved to folder {{db}/{{variant}} instead of {{db}}-{{variant}}/
This commit is contained in:
16
postgres/base/compose.yml
Normal file
16
postgres/base/compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
postgres:
|
||||
# run `just build postgres` first
|
||||
image: 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-base-data:/var/lib/postgresql
|
||||
|
||||
volumes:
|
||||
postgres-base-data:
|
||||
Reference in New Issue
Block a user