Skip to content

Commit d1fc0f0

Browse files
authored
Merge pull request #72 from tecno-consultores/develop
* volumenes para el worker
2 parents 1eeadf9 + ff65fe8 commit d1fc0f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ x-n8n-base: &n8n-base
173173
- N8N_TASK_BROKER_URL=http://${nhostname}:${N8N_PORT2}
174174
- N8N_COMMAND_RESPONSE_URL=http://${nhostname}:${N8N_PORT2}
175175
- N8N_TASK_BROKER_PORT=${N8N_PORT2}
176+
volumes:
177+
- ./n8n/storage:/home/node/.n8n
178+
- ./n8n/backup:/backup
179+
- ./n8n/shared:/data/shared
180+
- /etc/timezone:/etc/timezone:ro
181+
- /etc/localtime:/etc/localtime:ro
176182
deploy:
177183
mode: global
178184
restart_policy:
@@ -544,12 +550,6 @@ services:
544550
ports:
545551
- ${N8N_PORT}:5678
546552
- ${N8N_PORT2}:5679
547-
volumes:
548-
- ./n8n/storage:/home/node/.n8n
549-
- ./n8n/backup:/backup
550-
- ./n8n/shared:/data/shared
551-
- /etc/timezone:/etc/timezone:ro
552-
- /etc/localtime:/etc/localtime:ro
553553
healthcheck:
554554
test: ["CMD", "sh", "-c", "(wget -q -T 5 -O - http://127.0.0.1:5678/healthz 2>/dev/null | grep -qF '{\"status\":\"ok\"}') || exit 1"]
555555
start_period: 1m00s

0 commit comments

Comments
 (0)