mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-07 17:26:28 +01:00
13 lines
301 B
YAML
13 lines
301 B
YAML
name: homelab
|
|
services:
|
|
postgres:
|
|
image: postgres:17
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_USER: $POSTGRES_USER
|
|
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
|
|
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
|
volumes:
|
|
- $PWD/.data/local/postgres:/var/lib/postgresql/data
|