fix: Simplify NAS deployment with auto-initialized config folder

This commit is contained in:
Khoa.vo 2025-12-30 19:38:32 +07:00
parent 9d81329194
commit 931eb72b14

View file

@ -6,13 +6,13 @@ services:
container_name: apix_container container_name: apix_container
ports: ports:
- "8558:8888" - "8558:8888"
volumes:
volumes: volumes:
- ./static/generated:/app/static/generated - ./static/generated:/app/static/generated
- ./static/uploads:/app/static/uploads - ./static/uploads:/app/static/uploads
- ./prompts.json:/app/prompts.json - ./config:/app/config
- ./user_prompts.json:/app/user_prompts.json
- ./gallery_favorites.json:/app/gallery_favorites.json
environment: environment:
- CONFIG_DIR=/app/config
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-} - GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
- WHISK_COOKIES=${WHISK_COOKIES:-} - WHISK_COOKIES=${WHISK_COOKIES:-}
restart: unless-stopped restart: unless-stopped