add pelican
Some checks failed
Deploy Containers / Prepare (push) Failing after 33s

This commit is contained in:
2025-11-26 21:45:21 -05:00
parent 16b6d9467d
commit 9472336a4b
5 changed files with 194 additions and 136 deletions

19
tasks/postgres.yml Normal file
View File

@@ -0,0 +1,19 @@
---
- name: Deploy Postgres Database
include_role:
name: docker
vars:
name: postgresql
directories:
- "{{ data_dir }}/db"
image:
name: postgres
tag: "17"
networks:
- name: "{{ docker_network_name }}"
volumes:
- "{{ data_dir }}/db:/var/lib/postgresql/data"
env:
POSTGRES_USER: "root"
POSTGRES_PASSWORD: "{{ GLOBAL_POSTGRES_PASSWORD }}"
PGDATA: "/var/lib/postgresql/data/pgdata"