Skip to content

Commit ff3f05d

Browse files
committed
Use NAS bind mounts for persistent data
1 parent f4fe10e commit ff3f05d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docker-compose.portainer.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,11 @@ services:
1515
- WHATSAPP_MCP_DATA_DIR=/app/data
1616
- WHATSAPP_AUTH_DIR=/app/auth_info
1717
volumes:
18-
- whatsapp_data:/app/data
19-
- whatsapp_auth:/app/auth_info
18+
- //nexus/docker/whatsapp-mcp/data:/app/data
19+
- //nexus/docker/whatsapp-mcp/auth_info:/app/auth_info
2020
healthcheck:
2121
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3001/health"]
2222
interval: 30s
2323
timeout: 5s
2424
start_period: 60s
2525
retries: 3
26-
27-
volumes:
28-
whatsapp_data:
29-
driver: local
30-
whatsapp_auth:
31-
driver: local

0 commit comments

Comments
 (0)