Add Traefik and various service configurations for Docker Swarm

- Created `local_core.yml` for Traefik service configuration with multiple entry points and middleware settings.
- Added `services-all.yml` to define multiple services including API server, PostgreSQL, MinIO, Neo4j, and others with Traefik routing.
- Implemented Kubernetes deployment files for API server, Dozzle, MinIO, OSRM backend, PostgreSQL, SearxNG, and Whoami services.
- Configured persistent volume claims for MinIO, PostgreSQL, and SearxNG.
- Set up Traefik routing rules for all services to enable HTTPS and middleware for security.
This commit is contained in:
2026-03-25 10:15:04 +08:00
parent 8587141c69
commit 4549a213e2
17 changed files with 0 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f services.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: dozzle
traefik.constraint-label: traefik-public
traefik.swarm.network: traefik-public
traefik.enable: "true"
traefik.http.routers.dozzle.entrypoints: https
traefik.http.routers.dozzle.middlewares: admin-auth
traefik.http.routers.dozzle.rule: Host(`log.`)
traefik.http.routers.dozzle.service: dozzle_service
traefik.http.routers.dozzle.tls.certresolver: le
traefik.http.services.dozzle_service.loadbalancer.server.port: "8080"
name: dozzle
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: dozzle
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f services.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: dozzle
spec:
containers:
- env:
- name: DOMAIN
image: amir20/dozzle:latest
name: dozzle
restartPolicy: Always