mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-10 00:01:02 +00:00
* 1.14.1 * 1.14.1 version * repo pull use configured repo path * don't show UI defined file if using Stack files on host mode * Stack "run build" option * note on bind mounts * improve bind mount doc * add links to schema * add new stacks configs UI * interp into stack build_extra_args * add links UI
65 lines
2.2 KiB
YAML
65 lines
2.2 KiB
YAML
services:
|
|
# komodo-core:
|
|
# build:
|
|
# context: .
|
|
# dockerfile: bin/core/Dockerfile
|
|
# restart: unless-stopped
|
|
# depends_on:
|
|
# - komodo-mongo
|
|
# logging:
|
|
# driver: local # enable log rotation by default. see `https://docs.docker.com/config/containers/logging/local/`
|
|
# network_mode: host
|
|
# environment: # https://github.com/mbecker20/komodo/blob/main/config_example/core.config.example.toml
|
|
# KOMODO_HOST: http://localhost:9120
|
|
# KOMODO_TITLE: Komodo Test
|
|
# KOMODO_ENSURE_SERVER: http://localhost:8120 # Creates the "default" server.
|
|
# ## MONGO
|
|
# KOMODO_MONGO_ADDRESS: localhost:27017
|
|
# ## KEYS
|
|
# KOMODO_PASSKEY: a_random_passkey # used to auth against periphery
|
|
# KOMODO_WEBHOOK_SECRET: a_random_secret # used to authenticate incoming webhooks
|
|
# KOMODO_JWT_SECRET: a_random_jwt_secret # Optional. If empty, will have to log in again on restart.
|
|
# ## AUTH
|
|
# KOMODO_LOCAL_AUTH: true
|
|
# KOMODO_JWT_TTL: 2-wk
|
|
# ## POLLING
|
|
# KOMODO_MONITORING_INTERVAL: 5-sec
|
|
# KOMODO_STACK_POLL_INTERVAL: 1-min
|
|
# KOMODO_SYNC_POLL_INTERVAL: 1-min
|
|
# KOMODO_BUILD_POLL_INTERVAL: 1-min
|
|
# KOMODO_REPO_POLL_INTERVAL: 1-min
|
|
|
|
komodo-periphery:
|
|
build:
|
|
context: .
|
|
dockerfile: bin/periphery/Dockerfile
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
network_mode: host
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- komodo-repos:/etc/komodo/repos # manage repos in a docker volume, or change it to an accessible host directory.
|
|
- komodo-stacks:/etc/komodo/stacks # manage stacks in a docker volume, or change it to an accessible host directory.
|
|
# environment:
|
|
# # If the disk size is overreporting, can use one of these to
|
|
# # whitelist / blacklist the disks, whichever is easier.
|
|
# PERIPHERY_INCLUDE_DISK_MOUNTS: /etc/komodo/repos
|
|
# PERIPHERY_EXCLUDE_DISK_MOUNTS: /snap
|
|
|
|
komodo-mongo:
|
|
image: mongo
|
|
command: --quiet # suppress mongo logs a bit
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
network_mode: host
|
|
volumes:
|
|
- db-data:/data/db
|
|
- db-config:/data/configdb
|
|
|
|
volumes:
|
|
db-data:
|
|
db-config:
|
|
komodo-repos:
|
|
komodo-stacks: |