- Update all volume paths from /home/doc/swarm-data to /home/doc/projects/swarm-data - Add Traefik local entrypoint on port 8443 with host mode networking - Add Adminer local route with Traefik labels - Configure Vikunja OIDC integration with Authentik - Add Outline stack configuration - Add traefik-local stack for local network routing - Update .gitignore with backup files and dynamic configs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
986 B
YAML
34 lines
986 B
YAML
services:
|
|
adminer:
|
|
image: adminer:latest
|
|
networks:
|
|
- homelab
|
|
environment:
|
|
- ADMINER_DEFAULT_SERVER=10.0.4.10
|
|
- ADMINER_DESIGN=nette
|
|
healthcheck:
|
|
test: ["CMD", "php", "-r", "if (file_get_contents('http://localhost:8080')) exit(0); exit(1);"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 20s
|
|
deploy:
|
|
replicas: 1
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
reservations:
|
|
memory: 128M
|
|
labels: # Local route
|
|
- "traefik.enable=true"
|
|
- "traefik.swarm.network=homelab"
|
|
- "traefik.http.routers.adminer-local.rule=Host(`mine.home.frostlabs.me`)"
|
|
- "traefik.http.routers.adminer-local.entrypoints=websecure"
|
|
- "traefik.http.routers.adminer-local.tls=true"
|
|
- "traefik.http.routers.adminer-local.service=adminer"
|
|
# Service definition
|
|
- "traefik.http.services.adminer.loadbalancer.server.port=8080"
|
|
networks:
|
|
homelab:
|
|
external: true
|