mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -5,6 +5,8 @@ networks:
|
|||||||
services:
|
services:
|
||||||
archivebox:
|
archivebox:
|
||||||
image: archivebox/archivebox:0.8.5rc51
|
image: archivebox/archivebox:0.8.5rc51
|
||||||
|
depends_on:
|
||||||
|
- archivebox-init
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
@@ -26,6 +28,27 @@ services:
|
|||||||
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
||||||
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
||||||
|
|
||||||
|
archivebox-init:
|
||||||
|
image: archivebox/archivebox:0.8.5rc51
|
||||||
|
container_name: init-${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
command: archivebox init
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- ALLOWED_HOSTS=*
|
||||||
|
- CSRF_TRUSTED_ORIGINS=http://localhost:8000
|
||||||
|
- SEARCH_BACKEND_ENGINE=sonic
|
||||||
|
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
||||||
|
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
|
||||||
|
|
||||||
archivebox-sonic:
|
archivebox-sonic:
|
||||||
image: archivebox/sonic:latest
|
image: archivebox/sonic:latest
|
||||||
container_name: sonic-${CONTAINER_NAME}
|
container_name: sonic-${CONTAINER_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user