mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-24 16:01:02 +00:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
services:
|
|
oxicloud:
|
|
image: "diocrafts/oxicloud:0.8.8@sha256:2c071978f6bce98d57baaf00cbb963cb9ebe8acb3e02acaa2b5e348161074c8a"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
entrypoint: ["/bin/sh", "/usr/local/bin/oxicloud-package-entrypoint.sh"]
|
|
command: ["/usr/local/bin/oxicloud"]
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:8086"
|
|
environment:
|
|
- OXICLOUD_SERVER_HOST=0.0.0.0
|
|
- OXICLOUD_SERVER_PORT=8086
|
|
- OXICLOUD_BASE_URL=${OXICLOUD_BASE_URL}
|
|
- OXICLOUD_STORAGE_PATH=/app/storage
|
|
- PANEL_DB_HOST=${PANEL_DB_HOST}
|
|
- PANEL_DB_PORT=${PANEL_DB_PORT}
|
|
- PANEL_DB_NAME=${PANEL_DB_NAME}
|
|
- PANEL_DB_USER=${PANEL_DB_USER}
|
|
- PANEL_DB_USER_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
|
- OXICLOUD_DISABLE_REGISTRATION=${OXICLOUD_DISABLE_REGISTRATION}
|
|
- MIMALLOC_PURGE_DELAY=0
|
|
- RUST_LOG=info,oxicloud::infrastructure::db=warn
|
|
volumes:
|
|
- "${APP_DATA_DIR}:/app/storage"
|
|
- "./scripts/container-entrypoint.sh:/usr/local/bin/oxicloud-package-entrypoint.sh:ro"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8086/ready >/dev/null || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 30s
|
|
retries: 3
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|