18 lines
479 B
YAML
18 lines
479 B
YAML
---
|
|
postgres_name: postgres
|
|
postgres_dir: /srv/docker/postgres
|
|
postgres_image: postgres:17-alpine
|
|
postgres_routing_mode: host
|
|
postgres_env:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: "{{ vault_postgres_password | default('CHANGE_ME_IN_VAULT') }}"
|
|
POSTGRES_DB: postgres
|
|
postgres_directories:
|
|
- "{{ postgres_dir }}"
|
|
- /srv/data/postgres
|
|
postgres_volumes:
|
|
- /srv/data/postgres:/var/lib/postgresql/data
|
|
postgres_ports:
|
|
- { host: 5432, container: 5432, protocol: tcp }
|
|
|