forked from github-starred/komodo
* interpolate into slack / discord url
* fix js client docs
* js client should be type: module
* click table tags to toggle tag filter
* git token helper early return when empty provider
* reorder Stack fields
* action support interpolation doc
* Fix for the {account} login fails when the account name contains '$' (#385)
* GetDeploymentsSummary (#386)
* added GetDockerContainersSummary endpoint in rust api
* typescript stuff
* more autogenned typescript stuff
* fixed comments to be in line with actual behaviour
* fixed ReadResponse for GetDockerContainersSummary
* I64 -> u32 for response types
* more accurate error context
* backend for build files on host / ui defined
* core api supports non repo based build
* Ntfy as Alerter (#404)
* add ntfy alerter
* add ntfy alerter
* add ntfy alerter
---------
Co-authored-by: GFXSpeed <github@schafhaupt.com>
* Improve docs around running periphery in a container (#402)
* Add ports that need to be exposed if periphery is remote from core
* Spelling: overide -> override
* Add info about using a custom config file when running periphery in docker
* clean up ntfy alerter
* clean up ResourceSyncConfig
* update build cache after create / update
* refresh stack cache log
* Build UI Defined / file on host frontend
* update clap + rustls
* don't cleanup build files
* clean up dockerfile full path
* update BuildListItemInfo + UI table
* add Other Resources page
* add 5 second ws reconnection timeout
* Make listener address configurable & Add support for IPv6 (#405)
* Make listener address configurable
* Make listener address configurable for periphery
* rename listener_address -> bind_ip
---------
Co-authored-by: Jacky Fong <hello@huzky.dev>
Co-authored-by: Alex Shore <kntrllr@gmail.com>
Co-authored-by: Niklas <108990063+GFXSpeed@users.noreply.github.com>
Co-authored-by: GFXSpeed <github@schafhaupt.com>
Co-authored-by: theRAAPster <theraapster@gmail.com>
Co-authored-by: Daniel Vos <45820840+vosdev@users.noreply.github.com>
83 lines
2.6 KiB
YAML
83 lines
2.6 KiB
YAML
################################
|
|
# 🦎 KOMODO COMPOSE - MONGO 🦎 #
|
|
################################
|
|
|
|
## This compose file will deploy:
|
|
## 1. MongoDB
|
|
## 2. Komodo Core
|
|
## 3. Komodo Periphery
|
|
|
|
services:
|
|
mongo:
|
|
image: mongo
|
|
labels:
|
|
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
command: --quiet --wiredTigerCacheSizeGB 0.25
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: ${COMPOSE_LOGGING_DRIVER:-local}
|
|
# ports:
|
|
# - 27017:27017
|
|
volumes:
|
|
- mongo-data:/data/db
|
|
- mongo-config:/data/configdb
|
|
environment:
|
|
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}
|
|
labels:
|
|
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mongo
|
|
logging:
|
|
driver: ${COMPOSE_LOGGING_DRIVER:-local}
|
|
ports:
|
|
- 9120:9120
|
|
env_file: ./compose.env
|
|
environment:
|
|
KOMODO_DATABASE_ADDRESS: mongo: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/moghtech/komodo/tree/main/scripts
|
|
periphery:
|
|
image: ghcr.io/moghtech/komodo-periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
|
|
labels:
|
|
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: ${COMPOSE_LOGGING_DRIVER:-local}
|
|
env_file: ./compose.env
|
|
volumes:
|
|
## 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}
|
|
|
|
volumes:
|
|
# Mongo
|
|
mongo-data:
|
|
mongo-config:
|
|
# Core
|
|
repo-cache: |