Add .gitignore files for kestra-data and postgres-data directories

This commit is contained in:
2024-05-01 20:25:16 +08:00
parent a11343425e
commit 9ce2a7ce3f
3 changed files with 6 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore
+2 -6
View File
@@ -11,10 +11,6 @@ x-environment: &default-environment
volumes: volumes:
production_traefik: {} production_traefik: {}
portainer_data: {} portainer_data: {}
postgres-data:
driver: local
kestra-data:
driver: local
services: services:
postgres: postgres:
@@ -31,7 +27,7 @@ services:
PUID: 1000 PUID: 1000
user: "1000:1000" user: "1000:1000"
volumes: volumes:
- postgres-data:/var/lib/postgresql/data - ./postgres-data:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 30s interval: 30s
@@ -73,7 +69,7 @@ services:
user: "1000:1000" user: "1000:1000"
command: server standalone --worker-thread=128 command: server standalone --worker-thread=128
volumes: volumes:
- kestra-data:/app/storage - ./kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra-wd:/tmp/kestra-wd - /tmp/kestra-wd:/tmp/kestra-wd
environment: environment: