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
This commit is contained in:
+11
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user