Compare commits

...

2 Commits

Author SHA1 Message Date
dc13f67ecc added komodo 2025-03-18 13:06:59 -07:00
Vuong Hoang
ee7dfeb819 Updated 2025-03-17 21:50:30 -07:00
8 changed files with 132 additions and 25 deletions

View File

@@ -14,29 +14,15 @@ services:
- homepage.name=Dockge
- homepage.icon=si-portainer
- homepage.description=Docker
- homepage.href=http://10.250.50.70:5001
- homepage.href=http://10.250.50.70:5001
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/opt/docker/compose
networks:
- tnet
backup:
image: offen/docker-volume-backup:latest
restart: always
volumes:
# volumes to backup.
- dockge_data:/backup/dockge:ro
- /mnt/backup/docker/ana-docker/dockge:/archive
# can omit below if not stopping service.
# - /var/run/docker.sock:/var/run/docker.sock:ro
env_file:
- .env
networks:
- tnet
volumes:
dockge_data: null
networks:
tnet:
name: traefik-net

View File

@@ -0,0 +1,67 @@
################################
# 🦎 KOMODO COMPOSE - MONGO 🦎 #
################################
## This compose file will deploy:
## 1. MongoDB
## 2. Komodo Core
## 3. Komodo Periphery
services:
core:
image: ghcr.io/mbecker20/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
labels:
komodo.skip: null # Prevent Komodo from stopping with StopAllContainers
restart: unless-stopped
logging:
driver: ${COMPOSE_LOGGING_DRIVER:-local}
networks:
- traefik-net
ports:
- 9120:9120
env_file: .env
environment:
KOMODO_DATABASE_ADDRESS: ${MONGODB_IP}:27017
# KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
# KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
volumes:
## Core cache for repos for latest commit hash / contents
- repo-cache:/repo-cache
## Store sync files on server
# - /path/to/syncs:/syncs
## Optionally mount a custom core.config.toml
# - /path/to/core.config.toml:/config/config.toml
## Allows for systemd Periphery connection at
## "http://host.docker.internal:8120"
# extra_hosts:
# - host.docker.internal:host-gateway
## Deploy Periphery container using this block,
## or deploy the Periphery binary with systemd using
## https://github.com/mbecker20/komodo/tree/main/scripts
periphery:
image: ghcr.io/mbecker20/periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
labels:
komodo.skip: null # Prevent Komodo from stopping with StopAllContainers
restart: unless-stopped
logging:
driver: ${COMPOSE_LOGGING_DRIVER:-local}
networks:
- traefik-net
env_file: .env
environment:
PERIPHERY_REPO_DIR: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/repos
PERIPHERY_STACK_DIR: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/stacks
PERIPHERY_SSL_KEY_FILE: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/ssl/key.pem
PERIPHERY_SSL_CERT_FILE: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/ssl/cert.pem
volumes:
## Mount external docker socket
- /var/run/docker.sock:/var/run/docker.sock
- /proc:/proc
- ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}
volumes:
# Core
repo-cache: null
networks:
traefik-net:
external: true

View File

@@ -0,0 +1,27 @@
version: "3"
services:
open-webui:
ports:
- 3100:8080
environment:
OLLAMA_BASE_URL: ${OLLAMA_BASE}
volumes:
- open-webui:/app/backend/data
restart: unless-stopped
image: ghcr.io/open-webui/open-webui:main
labels:
- homepage.group=AI Systems
- homepage.name=Open WebUI
- homepage.icon=mdi-chat
- homepage.description=Open WebUI Chat - ana - 3100
- homepage.href=http://10.250.50.70:3100
networks:
- tnet
env_file:
- .env
volumes:
open-webui: null
networks:
tnet:
name: traefik-net
external: true

View File

@@ -12,7 +12,7 @@ services:
- homepage.description=Restic Backup Server (8000:ana)
- homepage.href=http://10.250.50.70:8000
volumes:
- /mnt/backup/restic:/data
- /mnt/backup/restic/repo/ana:/data
container_name: rest_server
image: restic/rest-server
networks:

View File

@@ -21,7 +21,7 @@ services:
- homepage.description=Rustdesk Relay Server (ana)
- homepage.href=https://rustdesk.phasefinal.com
volumes:
- /mnt/compose/data/rustdesk:/root
- /opt/docker/data/rustdesk:/root
network_mode: host
restart: unless-stopped
networks: {}

View File

@@ -17,7 +17,7 @@ services:
networks:
- tnet
seafile:
image: seafileltd/seafile-mc:latest
image: seafileltd/seafile-mc:11.0-latest
container_name: seafile
ports:
- 9180:80

View File

@@ -0,0 +1,27 @@
version: "3"
services:
sillytavern:
build: ..
container_name: sillytavern
hostname: sillytavern
image: ghcr.io/sillytavern/sillytavern:latest
ports:
- 8100:8000
volumes:
- /opt/docker/data/sillytavern/config:/home/node/app/config
- /opt/docker/data/sillytavern/data:/home/node/app/data
- /opt/docker/data/sillytavern/plugins:/home/node/app/plugins
- /opt/docker/data/sillytavern/extensions:/home/node/app/public/scripts/extensions/third-party
restart: unless-stopped
labels:
- homepage.group=AI Systems
- homepage.name=Silly Tavern
- homepage.icon=mdi-chat
- homepage.description=Silly Tavern AI - ANA-Docker 8100
- homepage.href=http://10.250.50.70:8100
networks:
- tnet
networks:
tnet:
name: traefik-net
external: true

File diff suppressed because one or more lines are too long