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
ansible.builtin.file:
path: "{{ container_base_dir }}/data/{{ item }}"
path: "{{ container_base_dir }}/data"
state: directory
mode: '0755'
loop:
- "db"
become: false
- 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_PASSWORD=${N8N_POSTGRES_NON_ROOT_PASSWORD}
volumes:
- ./data/db:/var/lib/postgresql/data
- db:/var/lib/postgresql/data
- ./data/init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${N8N_POSTGRES_USER} -d ${N8N_POSTGRES_DB}']
@ -72,4 +72,5 @@ networks:
driver: bridge
volumes:
data:
data:
db: