mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-10 03:01:38 +08:00
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
|
|
services:
|
||
|
|
hermes-agent:
|
||
|
|
container_name: ${CONTAINER_NAME}-agent
|
||
|
|
image: 1panel/hermes-agent:2026.5.7
|
||
|
|
restart: always
|
||
|
|
networks:
|
||
|
|
- 1panel-network
|
||
|
|
environment:
|
||
|
|
HOME: /opt/data/home
|
||
|
|
HERMES_HOME: /opt/data
|
||
|
|
HERMES_DASHBOARD: "1"
|
||
|
|
HERMES_DASHBOARD_HOST: 0.0.0.0
|
||
|
|
HERMES_DASHBOARD_PORT: 9119
|
||
|
|
TERM: xterm-256color
|
||
|
|
volumes:
|
||
|
|
- ./data:/opt/data
|
||
|
|
- /etc/localtime:/etc/localtime
|
||
|
|
init: true
|
||
|
|
labels:
|
||
|
|
createdBy: "Apps"
|
||
|
|
hermes-webui:
|
||
|
|
container_name: ${CONTAINER_NAME}
|
||
|
|
image: ekkoye8888/hermes-web-ui:v0.5.15
|
||
|
|
entrypoint: ["node", "dist/server/index.js"]
|
||
|
|
restart: always
|
||
|
|
networks:
|
||
|
|
- 1panel-network
|
||
|
|
ports:
|
||
|
|
- "${PANEL_APP_PORT_HTTP}:6060"
|
||
|
|
volumes:
|
||
|
|
- ./data:/opt/data
|
||
|
|
- ./webui-data:/home/agent/.hermes-web-ui
|
||
|
|
environment:
|
||
|
|
- PORT=6060
|
||
|
|
- HERMES_HOME=/opt/data
|
||
|
|
- HERMES_BIN=/opt/hermes/.venv/bin/hermes
|
||
|
|
- AUTH_DISABLED=false
|
||
|
|
- PATH=/opt/hermes/.venv/bin:/opt/data/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||
|
|
depends_on:
|
||
|
|
- hermes-agent
|
||
|
|
labels:
|
||
|
|
createdBy: "Apps"
|
||
|
|
networks:
|
||
|
|
1panel-network:
|
||
|
|
external: true
|