You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure whether the issue is with the fact that I changed the host or not, but after doing docker-compose down and docker-compose up -d, it completely reset my application. The reason I stopped the container was because it was spamming the auto-update webhook in Discord after it was already finished, so I am unsure if that has something to do with it. I tried restoring a backup by running km db restore -y --restore-folder 2025-12-04_01-00-01, but I just got the following error:
################################# 🦎 KOMODO COMPOSE - MONGO 🦎 ################################### This compose file will deploy:## 1. MongoDB## 2. Komodo Core## 3. Komodo Peripheryservices:
mongo:
image: mongocontainer_name: komodo-dblabels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainerscommand: --quiet --wiredTigerCacheSizeGB 0.25restart: unless-stopped# ports:# - 27017:27017volumes:
- ./db:/dataenvironment:
MONGO_INITDB_ROOT_USERNAME: ${KOMODO_DB_USERNAME}MONGO_INITDB_ROOT_PASSWORD: ${KOMODO_DB_PASSWORD}core:
image: ghcr.io/moghtech/komodo-core:${COMPOSE_KOMODO_IMAGE_TAG:-latest}container_name: komodo-corelabels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainersrestart: unless-stoppeddepends_on:
- mongoports:
- 9120:9120env_file: ./.envenvironment:
KOMODO_DATABASE_ADDRESS: mongo:27017KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}volumes:
## Store dated backups of the database - https://komo.do/docs/setup/backup
- ${COMPOSE_KOMODO_BACKUPS_PATH}:/backups## 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## "https://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/moghtech/komodo/tree/main/scriptsperiphery:
image: ghcr.io/moghtech/komodo-periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest}container_name: komodo-peripherylabels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainersrestart: unless-stoppedenv_file: ./.envvolumes:
## Mount external docker socket
- /var/run/docker.sock:/var/run/docker.sock## Allow Periphery to see processes outside of container
- /proc:/proc## Specify the Periphery agent root directory.## Must be the same inside and outside the container,## or docker will get confused. See https://github.com/moghtech/komodo/discussions/180.## Default: /etc/komodo.
- ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure whether the issue is with the fact that I changed the host or not, but after doing
docker-compose downanddocker-compose up -d, it completely reset my application. The reason I stopped the container was because it was spamming the auto-update webhook in Discord after it was already finished, so I am unsure if that has something to do with it. I tried restoring a backup by runningkm db restore -y --restore-folder 2025-12-04_01-00-01, but I just got the following error:Here is my
docker-compose.yml:Any help is appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions