2024-10-25 18:37:20 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
shiori:
|
|
|
|
image: ghcr.io/go-shiori/shiori:v1.7.1
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
|
|
env_file:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-10-25 18:37:20 +08:00
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
|
|
|
- ${SHIORI_ROOT_PATH}/dev-data:/srv/shiori
|
|
|
|
- ${SHIORI_ROOT_PATH}/data:/src/shiori
|
|
|
|
environment:
|
|
|
|
- SHIORI_DIR=/srv/shiori
|
2024-10-29 11:57:59 +08:00
|
|
|
- SHIORI_DEVELOPMENT=False
|
|
|
|
- SHIORI_HTTP_ENABLED=True
|
|
|
|
- SHIORI_HTTP_PORT=8080
|
|
|
|
- SHIORI_HTTP_ROOT_PATH=/
|
|
|
|
- SHIORI_HTTP_ACCESS_LOG=True
|
|
|
|
- SHIORI_HTTP_BODY_LIMIT=1024
|
|
|
|
- SHIORI_HTTP_READ_TIMEOUT=10s
|
|
|
|
- SHIORI_HTTP_WRITE_TIMEOUT=10s
|
|
|
|
- SHIORI_HTTP_IDLE_TIMEOUT=10s
|
|
|
|
- SHIORI_HTTP_DISABLE_KEEP_ALIVE=true
|
|
|
|
- SHIORI_HTTP_DISABLE_PARSE_MULTIPART_FORM=true
|