From 91d122ca3adf632b5ba62a495945abf0dcc1e37a Mon Sep 17 00:00:00 2001 From: Christomatt Date: Sun, 1 Feb 2026 18:52:56 +0100 Subject: [PATCH] fix: update docker-compose.yml for flat directory structure - Change Caddyfile mount from ./docker/Caddyfile to ./Caddyfile - Change caddy-entrypoint.sh mount from ./scripts/ to ./ - Update quick start instructions to download all files to root - Matches the actual curl commands in install docs --- docker-compose.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c8ea447..b42f2fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,15 @@ # Uses pre-built image from GitHub Container Registry # # Quick Start: -# 1. Download this file, Caddyfile, and .env.example -# 2. Copy .env.example to .env and fill in your values -# 3. Run: docker compose up -d +# 1. Download files to a new directory: +# mkdir -p /opt/synapsis && cd /opt/synapsis +# curl -O https://raw.githubusercontent.com/cyph3rasi/synapsis/main/docker-compose.yml +# curl -O https://raw.githubusercontent.com/cyph3rasi/synapsis/main/docker/Caddyfile +# curl -O https://raw.githubusercontent.com/cyph3rasi/synapsis/main/scripts/caddy-entrypoint.sh +# curl -O https://raw.githubusercontent.com/cyph3rasi/synapsis/main/docker/.env.example +# cp .env.example .env +# 2. Configure (edit with your domain and secrets): nano .env +# 3. Start your node: docker compose up -d # # Services: # - Synapsis Next.js application (from GHCR) @@ -103,8 +109,8 @@ services: - "80:80" - "443:443" volumes: - - ./docker/Caddyfile:/etc/caddy/Caddyfile:ro - - ./scripts/caddy-entrypoint.sh:/usr/local/bin/caddy-entrypoint.sh:ro + - ./Caddyfile:/etc/caddy/Caddyfile:ro + - ./caddy-entrypoint.sh:/usr/local/bin/caddy-entrypoint.sh:ro - caddy_data:/data - caddy_config:/config # Shared volume for port coordination with app