mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
fix starting behaviour
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
|
depends-on:
|
||||||
|
- archivebox
|
||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -20,6 +22,8 @@ services:
|
|||||||
container_name: archivebox
|
container_name: archivebox
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
command: server --host 0.0.0.0 --port 8000
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Zurich
|
- TZ=Europe/Zurich
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,4 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
mkdir -p archivebox-data
|
|
||||||
|
|
||||||
docker compose run --rm archivebox init --setup
|
docker compose run --rm archivebox init --setup
|
||||||
|
|
||||||
docker compose up -d
|
|
||||||
|
|||||||
Reference in New Issue
Block a user