feat: use local volumes

This commit is contained in:
ManUtopiK 2022-10-29 20:39:45 +02:00
parent be783f6252
commit b6b64cf0c8
5 changed files with 7 additions and 10 deletions

4
.gitignore vendored
View File

@ -3,4 +3,6 @@
.env.development.local
.env.test.local
.env.production.local
.env.local
.env.local
volumes

View File

@ -25,8 +25,8 @@ x-shared: &shared
- postgres
- redis
volumes:
- n8n_storage:/home/node/
- n8n_storage:/files
- ./volumes/n8n:/home/node/
- ./volumes/n8n:/files
depends_on:
redis:
condition: service_healthy

View File

@ -15,7 +15,7 @@ services:
- UMAMI_DB
- LISTMONK_DB
volumes:
- postgres_storage:/var/lib/postgresql/data
- ./volumes/postgres:/var/lib/postgresql/data
- ./init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
healthcheck:
test:

View File

@ -3,7 +3,7 @@ services:
image: redis:6-alpine
restart: always
volumes:
- redis_storage:/data
- ./volumes/redis:/data
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 5s

View File

@ -41,8 +41,3 @@ services:
extends:
file: composes/listmonk/listmonk.yml
service: listmonk
volumes:
postgres_storage:
redis_storage:
n8n_storage: