Domain Strategy: - fig.systems: Homelab services only (removed edfig.dev fallback from all services) - edfig.dev: Professional/public sites (personal site, blog) - figgy.foo: Experimental/private content (SSO protected) Removed edfig.dev Fallbacks: - Updated 22 compose files to remove || Host(...edfig.dev) pattern - All homelab services now use fig.systems only - Traefik email remains admin@edfig.dev Added Caddy Static Sites Service: - compose/services/static-sites/ with Caddy 2 - Serves three domains with different configurations: * edfig.dev (personal/professional) - Public, no SSO * blog.edfig.dev (blog) - Public, Markdown rendering, templates * figgy.foo (experimental) - SSO protected, directory browsing - Example sites with modern, responsive designs - Comprehensive README with usage examples - Auto-reload on config changes (no restarts needed) Features: - Markdown rendering (write .md, serves as HTML) - Go templates for dynamic content - Directory browsing (figgy.foo) - Automatic gzip compression - Static asset caching - Zero-downtime config reloads Updated Documentation: - README.md: Added domain strategy section, static sites in directory structure - README.md: Added static sites to service URLs table - README.md: Updated deployment instructions
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
# Vikunja - The open-source, self-hostable to-do app
|
|
# Docs: https://vikunja.io/docs/full-docker-example/
|
|
|
|
services:
|
|
vikunja:
|
|
container_name: vikunja
|
|
image: vikunja/vikunja:latest
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./files:/app/vikunja/files
|
|
depends_on:
|
|
vikunja-db:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
networks:
|
|
- homelab
|
|
- vikunja_internal
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.docker.network: homelab
|
|
traefik.http.routers.vikunja.rule: Host(`tasks.fig.systems`)
|
|
traefik.http.routers.vikunja.entrypoints: websecure
|
|
traefik.http.routers.vikunja.tls.certresolver: letsencrypt
|
|
traefik.http.services.vikunja.loadbalancer.server.port: 3456
|
|
traefik.http.routers.vikunja.middlewares: tinyauth
|
|
|
|
vikunja-db:
|
|
container_name: vikunja-db
|
|
image: postgres:18
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- vikunja_internal
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
|
|
interval: 2s
|
|
start_period: 30s
|
|
|
|
networks:
|
|
homelab:
|
|
external: true
|
|
vikunja_internal:
|
|
name: vikunja_internal
|
|
driver: bridge
|