🐛 Fix docker user mount path #1233

This commit is contained in:
Jan Oberhauser
2020-12-06 19:45:58 +01:00
parent 7669488179
commit d3fd88c3eb
3 changed files with 8 additions and 8 deletions

View File

@@ -52,4 +52,4 @@ services:
- WEBHOOK_TUNNEL_URL=https://${DOMAIN_NAME}${N8N_PATH}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DATA_FOLDER}/.n8n:/root/.n8n
- ${DATA_FOLDER}/.n8n:/home/node/.n8n

View File

@@ -32,7 +32,7 @@ services:
links:
- postgres
volumes:
- ~/.n8n:/root/.n8n
- ~/.n8n:/home/node/.n8n
# Wait 5 seconds to start n8n to make sure that PostgreSQL is ready
# when n8n tries to connect to it
command: /bin/sh -c "sleep 5; n8n start"