dev #4

Merged
kevinheyer merged 14 commits from dev into main 2025-08-13 15:35:45 +00:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 5adc9284b4 - Show all commits

View file

@ -1,11 +1,9 @@
--- ---
- name: Ensure data directories exist - name: Ensure data directories exist
ansible.builtin.file: ansible.builtin.file:
path: "{{ container_base_dir }}/data/{{ item }}" path: "{{ container_base_dir }}/data"
state: directory state: directory
mode: '0755' mode: '0755'
loop:
- "db"
become: false become: false
- name: Deploy Docker Compose and .env files - name: Deploy Docker Compose and .env files

View file

@ -13,7 +13,7 @@ services:
- POSTGRES_NON_ROOT_USER=${N8N_POSTGRES_NON_ROOT_USER} - POSTGRES_NON_ROOT_USER=${N8N_POSTGRES_NON_ROOT_USER}
- POSTGRES_NON_ROOT_PASSWORD=${N8N_POSTGRES_NON_ROOT_PASSWORD} - POSTGRES_NON_ROOT_PASSWORD=${N8N_POSTGRES_NON_ROOT_PASSWORD}
volumes: volumes:
- ./data/db:/var/lib/postgresql/data - db:/var/lib/postgresql/data
- ./data/init-data.sh:/docker-entrypoint-initdb.d/init-data.sh - ./data/init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
healthcheck: healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${N8N_POSTGRES_USER} -d ${N8N_POSTGRES_DB}'] test: ['CMD-SHELL', 'pg_isready -h localhost -U ${N8N_POSTGRES_USER} -d ${N8N_POSTGRES_DB}']
@ -73,3 +73,4 @@ networks:
volumes: volumes:
data: data:
db: