networks: 1panel-network: external: true services: stash-box: image: stashapp/stash-box:development container_name: ${CONTAINER_NAME} labels: - createdBy=Apps - traefik.http.routers.stash-box.rule=Host(``) - traefik.http.routers.stash-box.tls=true - traefik.http.routers.stash-box.tls.certresolver=stash-box - traefik.port=9998 restart: always network_mode: ${NETWORK_MODE:-host} ports: - ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP} env_file: - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} - ${ENV_FILE:-/etc/1panel/envs/default.env} logging: driver: "json-file" options: max-file: "10" max-size: "2m" volumes: - ${STASH_ROOT_PATH}/data:/root/.stash-box