mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user