feat: use local volumes
This commit is contained in:
parent
be783f6252
commit
b6b64cf0c8
|
@ -3,4 +3,6 @@
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
.env.local
|
.env.local
|
||||||
|
|
||||||
|
volumes
|
|
@ -25,8 +25,8 @@ x-shared: &shared
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
- n8n_storage:/home/node/
|
- ./volumes/n8n:/home/node/
|
||||||
- n8n_storage:/files
|
- ./volumes/n8n:/files
|
||||||
depends_on:
|
depends_on:
|
||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
- UMAMI_DB
|
- UMAMI_DB
|
||||||
- LISTMONK_DB
|
- LISTMONK_DB
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_storage:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
- ./init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
|
- ./init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -3,7 +3,7 @@ services:
|
||||||
image: redis:6-alpine
|
image: redis:6-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- redis_storage:/data
|
- ./volumes/redis:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'redis-cli', 'ping']
|
test: ['CMD', 'redis-cli', 'ping']
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|
|
@ -41,8 +41,3 @@ services:
|
||||||
extends:
|
extends:
|
||||||
file: composes/listmonk/listmonk.yml
|
file: composes/listmonk/listmonk.yml
|
||||||
service: listmonk
|
service: listmonk
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres_storage:
|
|
||||||
redis_storage:
|
|
||||||
n8n_storage:
|
|
||||||
|
|
Loading…
Reference in New Issue