This commit is contained in:
mike
2025-12-12 12:58:57 +01:00
parent 92f145e6b3
commit a5222646e8
3 changed files with 28 additions and 32 deletions

View File

@@ -1,6 +1,5 @@
services:
wapp:
user: "1000:1000"
build:
context: ${WAPP_APP_ROOT}
dockerfile: Dockerfile
@@ -11,6 +10,7 @@ services:
networks:
- traefik_net
- default
environment:
# Server configuration
- PORT=3001
@@ -37,10 +37,10 @@ services:
volumes:
# Persistent data volumes
- whatsapp-data:/app/data
- whatsapp-media:/app/media
- whatsapp-cache:/app/.wwebjs_cache
- whatsapp-auth:/app/.wwebjs_auth
- whatsapp-data:/app/data:rw
- whatsapp-media:/app/media:rw
- whatsapp-cache:/app/.wwebjs_cache:rw
- whatsapp-auth:/app/.wwebjs_auth:rw
# Uncomment labels below when ready to use Traefik
labels:
@@ -58,6 +58,7 @@ services:
retries: 3
start_period: 40s
networks:
traefik_net:
external: true