mirror of
https://github.com/okxlin/appstore.git
synced 2026-11-19 00:07:22 +00:00
Add an optional editable CORS origin list for latest and http-meta, propagate it through Compose, and backfill only missing upgrade configuration keys. Document the installed Compose mapping needed before a same-tag rebuild. Verified with eight real 1Panel v2.3.2 API scenarios and focused HTTP, data, configuration and documentation checks. The complete app tree and runtime image identities match the tested repair.
23 lines
683 B
YAML
23 lines
683 B
YAML
services:
|
|
sub-store:
|
|
image: xream/sub-store:latest
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:3001"
|
|
environment:
|
|
- SUB_STORE_PUSH_SERVICE=${SUB_STORE_PUSH_SERVICE}
|
|
- SUB_STORE_BACKEND_SYNC_CRON=${SUB_STORE_BACKEND_SYNC_CRON:-${SUB_STORE_BACKEND_CRON:-${SUB_STORE_CRON:-55 23 * * *}}}
|
|
- SUB_STORE_FRONTEND_BACKEND_PATH=${SUB_STORE_FRONTEND_BACKEND_PATH}
|
|
- SUB_STORE_CORS_ALLOWED_ORIGINS=${SUB_STORE_CORS_ALLOWED_ORIGINS:-}
|
|
volumes:
|
|
- ${DATA_PATH}:/opt/app/data
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|