feat: use local volumes
This commit is contained in:
parent
be783f6252
commit
b6b64cf0c8
|
@ -3,4 +3,6 @@
|
|||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
.env.local
|
||||
|
||||
volumes
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,8 +41,3 @@ services:
|
|||
extends:
|
||||
file: composes/listmonk/listmonk.yml
|
||||
service: listmonk
|
||||
|
||||
volumes:
|
||||
postgres_storage:
|
||||
redis_storage:
|
||||
n8n_storage:
|
||||
|
|
Loading…
Reference in New Issue