1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00
1Panel-Appstore/apps/archivebox/0.7.3/docker-compose.yml
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00

45 lines
1.1 KiB
YAML

networks:
1panel-network:
external: true
services:
archivebox:
image: archivebox/archivebox:0.7.3
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8000
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/data:/data
environment:
- TZ=Asia/Shanghai
- ADMIN_USERNAME=${ADMIN_USERNAME}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- ALLOWED_HOSTS=*
- CSRF_TRUSTED_ORIGINS=http://localhost:8000
- PUBLIC_INDEX=${}
- PUBLIC_SNAPSHOTS=${}
- PUBLIC_ADD_VIEW=${}
- SEARCH_BACKEND_ENGINE=sonic
- SEARCH_BACKEND_HOST_NAME=archivebox-sonic
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}
archivebox-sonic:
image: archivebox/sonic:latest
pull_policy: always
container_name: sonic-${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
expose:
- 1491
volumes:
- ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store
environment:
- TZ=Asia/Shanghai
- SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-}