Refactor: Reorganize services into standalone structure

This commit is contained in:
2026-01-25 15:19:53 -06:00
parent cf360234c1
commit 10521ee94d
52 changed files with 3253 additions and 11 deletions

View File

@@ -0,0 +1,67 @@
version: '3.8'
networks:
traefik-public:
external: true
homelab-backend:
driver: bridge
volumes:
komodo_data:
komodo_mongo_data:
services:
komodo-mongo:
image: mongo:7
container_name: komodo-mongo
restart: unless-stopped
volumes:
- komodo_mongo_data:/data/db
networks:
- homelab-backend
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
komodo-core:
image: ghcr.io/moghtech/komodo:latest
container_name: komodo-core
depends_on:
- komodo-mongo
environment:
- KOMODO_DATABASE_ADDRESS=komodo-mongo:27017
volumes:
- komodo_data:/config
networks:
- traefik-public
- homelab-backend
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.komodo.rule=Host(`komodo.sterl.xyz`)"
- "traefik.http.routers.komodo.entrypoints=websecure"
- "traefik.http.routers.komodo.tls.certresolver=cfresolver"
- "traefik.http.services.komodo.loadbalancer.server.port=9120"
- "docktail.enable=true"
- "docktail.name=komodo"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
komodo-periphery:
image: ghcr.io/moghtech/komodo-periphery:latest
container_name: komodo-periphery
environment:
- PERIPHERY_Id=periphery-standalone
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"