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
+34
View File
@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f services.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: whoami
traefik.constraint-label: traefik-public
traefik.swarm.network: traefik-public
traefik.enable: "true"
traefik.http.routers.whoami-rtr.entrypoints: https
traefik.http.routers.whoami-rtr.rule: Host(`whoami.`)
traefik.http.routers.whoami-rtr.service: whoami-svc
traefik.http.routers.whoami-rtr.tls.certresolver: le
traefik.http.services.whoami-svc.loadbalancer.server.port: "80"
name: whoami
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: whoami
template:
metadata:
annotations:
kompose.cmd: kompose convert -f services.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: whoami
spec:
containers:
- image: traefik/whoami
name: whoami
restartPolicy: Always