This repository has been archived on 2025-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
swarm-production/stacks/apps/adminer/stack.yml
John a1af5b4c9b Update paths and configurations for swarm infrastructure
- 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>
2025-11-03 22:12:17 +00:00

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