mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-27 00:01:05 +00:00
Enable and protect the gateway API, replace the removed dashboard insecure mode with Basic Auth, preserve old-user settings through idempotent upgrade migrations, and refresh the app documentation.
31 lines
809 B
YAML
Executable File
31 lines
809 B
YAML
Executable File
services:
|
|
hermes-dashboard:
|
|
image: "nousresearch/hermes-agent:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
command:
|
|
- dashboard
|
|
- --host
|
|
- 0.0.0.0
|
|
- --no-open
|
|
environment:
|
|
- TZ=${TZ}
|
|
- HERMES_UID=${HERMES_UID:-10000}
|
|
- HERMES_GID=${HERMES_GID:-10000}
|
|
- GATEWAY_HEALTH_URL=${GATEWAY_HEALTH_URL}
|
|
- HERMES_DASHBOARD_BASIC_AUTH_USERNAME=${DASHBOARD_USERNAME}
|
|
- HERMES_DASHBOARD_BASIC_AUTH_PASSWORD=${DASHBOARD_PASSWORD}
|
|
- HERMES_DASHBOARD_BASIC_AUTH_SECRET=${DASHBOARD_SESSION_SECRET}
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:9119"
|
|
volumes:
|
|
- "${APP_DATA_DIR}:/opt/data"
|
|
restart: unless-stopped
|
|
networks:
|
|
- 1panel-network
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|