- Configure Traefik v3 with Dynu provider for Let's Encrypt challenges - Implement up.sh for automated network setup and service deployment - Scaffold services (Dozzle, Gitea, Ollama) with standardized labels - Initialize FastAPI dashboard with Docker SDK integration - Update README with new architecture and local domain mapping
24 lines
593 B
Bash
Executable File
24 lines
593 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ensure the shared network exists
|
|
docker network inspect proxy-net >/dev/null 2>&1 || \
|
|
docker network create proxy-net
|
|
|
|
# CRITICAL: Traefik SSL file permissions
|
|
mkdir -p core/letsencrypt
|
|
touch core/letsencrypt/acme.json
|
|
chmod 600 core/letsencrypt/acme.json
|
|
|
|
# Function to start a service
|
|
start_service() {
|
|
echo "Starting $1..."
|
|
# Using -f allows us to stay in root and avoid 'cd' headaches
|
|
docker compose -f "$1/docker-compose.yml" up -d
|
|
}
|
|
|
|
start_service "core"
|
|
start_service "services/dozzle"
|
|
start_service "services/excalidraw"
|
|
|
|
echo "Arch-traefik-hub is up!"
|