From 551a4a9e80fdf2629cb80f244f9d7e6ead046734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Thu, 23 Jul 2026 21:04:28 +0200 Subject: [PATCH] fix starting behaviour --- compose.yml | 4 ++++ scripts/init.sh | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 918c7c2..3432869 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,8 @@ services: caddy: + depends-on: + - archivebox image: caddy:latest container_name: caddy restart: unless-stopped @@ -20,6 +22,8 @@ services: container_name: archivebox restart: unless-stopped + command: server --host 0.0.0.0 --port 8000 + environment: - TZ=Europe/Zurich diff --git a/scripts/init.sh b/scripts/init.sh index 96226b7..57947b2 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -3,8 +3,4 @@ set -e cd "$(dirname "$0")/.." -mkdir -p archivebox-data - docker compose run --rm archivebox init --setup - -docker compose up -d