mirror of
https://github.com/okxlin/appstore.git
synced 2026-10-02 16:00:16 +00:00
39 lines
935 B
YAML
39 lines
935 B
YAML
services:
|
|
hermitstash:
|
|
image: "ghcr.io/dotcoocoo/hermitstash:1.15.3@sha256:9069415e620760d860275f25b6e2ac0069a624a7552119df0dfd8d33faae0dcd"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
init: true
|
|
user: "1000:1000"
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- HERMITSTASH_TMPDIR=/dev/shm
|
|
- PORT=3000
|
|
- LOCAL_AUTH=true
|
|
- REGISTRATION_OPEN=false
|
|
- PUBLIC_UPLOAD=false
|
|
- PASSKEY_ENABLED=true
|
|
- CA_KEY_SEALED=auto
|
|
- TLS_KEY_SEALED=auto
|
|
shm_size: 256m
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=16m,mode=1777
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
volumes:
|
|
- "${APP_DATA_DIR}:/app/data"
|
|
- "${APP_UPLOADS_DIR}:/app/uploads"
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|