发布应用 ArchiveBox
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
339d47f90a
commit
29706c155e
|
|
@ -5,6 +5,8 @@ networks:
|
|||
services:
|
||||
archivebox:
|
||||
image: archivebox/archivebox:0.8.5rc51
|
||||
depends_on:
|
||||
- archivebox-init
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
|
@ -26,6 +28,27 @@ services:
|
|||
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
|
||||
- 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:
|
||||
image: archivebox/sonic:latest
|
||||
container_name: sonic-${CONTAINER_NAME}
|
||||
|
|
|
|||
Loading…
Reference in New Issue