Compare commits
9 Commits
test
...
2bdbf1a313
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bdbf1a313 | |||
| 5af8be33d8 | |||
| 3e582e4d0c | |||
| 668abc799e | |||
| c4106fbfae | |||
| 4cba6a009a | |||
| b5ecc227d0 | |||
| 40668b67dc | |||
| 18c973446d |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
|||||||
.env
|
.env
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
services:
|
|
||||||
garmin-fetch-data:
|
|
||||||
restart: unless-stopped
|
|
||||||
image: thisisarpanghosh/garmin-fetch-data:latest
|
|
||||||
container_name: garmin-fetch-data
|
|
||||||
depends_on:
|
|
||||||
influxdb:
|
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
|
||||||
- garminconnect_tokens:/home/appuser/.garminconnect # persisted tokens storage (named volume)
|
|
||||||
environment:
|
|
||||||
- INFLUXDB_HOST=influxdb
|
|
||||||
- INFLUXDB_PORT=8086
|
|
||||||
- INFLUXDB_USERNAME=influxdb_user
|
|
||||||
- INFLUXDB_PASSWORD=${INFLUXDB_PASSWORD}
|
|
||||||
- INFLUXDB_DATABASE=GarminStats
|
|
||||||
- UPDATE_INTERVAL_SECONDS=300
|
|
||||||
- LOG_LEVEL=INFO
|
|
||||||
- GARMINCONNECT_EMAIL=${GARMINCONNECT_EMAIL}
|
|
||||||
- GARMINCONNECT_BASE64_PASSWORD=${GARMINCONNECT_PASSWORD} # (must be base64 encoded)
|
|
||||||
networks:
|
|
||||||
- garmin-grafana-net
|
|
||||||
|
|
||||||
influxdb:
|
|
||||||
restart: unless-stopped
|
|
||||||
container_name: influxdb
|
|
||||||
hostname: influxdb
|
|
||||||
image: influxdb:latest
|
|
||||||
environment:
|
|
||||||
- INFLUXDB_DB=GarminStats
|
|
||||||
- INFLUXDB_USER=influxdb_user
|
|
||||||
- INFLUXDB_USER_PASSWORD=${INFLUXDB_PASSWORD}
|
|
||||||
- INFLUXDB_DATA_INDEX_VERSION=tsi1
|
|
||||||
ports:
|
|
||||||
- '8086:8086'
|
|
||||||
volumes:
|
|
||||||
- influxdb_data:/var/lib/influxdb
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8086/ping"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
networks:
|
|
||||||
- garmin-grafana-net
|
|
||||||
|
|
||||||
grafana:
|
|
||||||
restart: unless-stopped
|
|
||||||
container_name: grafana
|
|
||||||
hostname: grafana
|
|
||||||
image: grafana/grafana:latest
|
|
||||||
environment:
|
|
||||||
- GF_SECURITY_ADMIN_USER=${GF_SECURITY_ADMIN_USER}
|
|
||||||
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD}
|
|
||||||
volumes:
|
|
||||||
- grafana_data:/var/lib/grafana
|
|
||||||
ports:
|
|
||||||
- '3000:3000'
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
networks:
|
|
||||||
- garmin-grafana-net
|
|
||||||
|
|
||||||
networks:
|
|
||||||
garmin-grafana-net:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
garminconnect_tokens:
|
|
||||||
name: garminconnect_tokens
|
|
||||||
influxdb_data:
|
|
||||||
name: influxdb_data
|
|
||||||
grafana_data:
|
|
||||||
name: grafana_data
|
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
services:
|
||||||
|
garmin-fetch-data:
|
||||||
|
restart: unless-stopped
|
||||||
|
image: thisisarpanghosh/garmin-fetch-data:latest
|
||||||
|
container_name: garmin-fetch-data
|
||||||
|
depends_on:
|
||||||
|
influxdb:
|
||||||
|
condition: service_healthy
|
||||||
|
volumes:
|
||||||
|
- ${GARMINCONNECT_TOKENS}:/home/appuser/.garminconnect # (persistant tokens storage - garminconnect-tokens folder must be owned by 1000:1000)
|
||||||
|
environment:
|
||||||
|
- INFLUXDB_HOST=influxdb
|
||||||
|
- INFLUXDB_PORT=8086
|
||||||
|
- INFLUXDB_USERNAME=influxdb_user
|
||||||
|
- INFLUXDB_PASSWORD=${INFLUXDB_PASSWORD}
|
||||||
|
- INFLUXDB_DATABASE=GarminStats
|
||||||
|
- UPDATE_INTERVAL_SECONDS=300
|
||||||
|
- LOG_LEVEL=INFO
|
||||||
|
- GARMINCONNECT_EMAIL=${GARMINCONNECT_EMAIL}
|
||||||
|
- GARMINCONNECT_BASE64_PASSWORD=${GARMINCONNECT_PASSWORD} # (must be base64 encoded)
|
||||||
|
networks:
|
||||||
|
- garmin-grafana-net
|
||||||
|
|
||||||
|
influxdb:
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: influxdb
|
||||||
|
hostname: influxdb
|
||||||
|
image: influxdb:latest
|
||||||
|
environment:
|
||||||
|
- INFLUXDB_DB=GarminStats
|
||||||
|
- INFLUXDB_USER=influxdb_user
|
||||||
|
- INFLUXDB_USER_PASSWORD=${INFLUXDB_PASSWORD}
|
||||||
|
- INFLUXDB_DATA_INDEX_VERSION=tsi1
|
||||||
|
ports:
|
||||||
|
- '8086:8086'
|
||||||
|
volumes:
|
||||||
|
- ${PATH_TO_INFLUXDB_DATA}:/var/lib/influxdb
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8086/ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- garmin-grafana-net
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: grafana
|
||||||
|
hostname: grafana
|
||||||
|
image: grafana/grafana:latest
|
||||||
|
environment:
|
||||||
|
- GF_SECURITY_ADMIN_USER=${GF_SECURITY_ADMIN_USER}
|
||||||
|
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- ${PATH_TO_GRAFANA_DATA}:/var/lib/grafana
|
||||||
|
ports:
|
||||||
|
- '3000:3000'
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- garmin-grafana-net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
garmin-grafana-net:
|
||||||
|
driver: bridge
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
GITEA_INSTANCE_URL=<instance_url>
|
|
||||||
GITEA_RUNNER_REGISTRATION_TOKEN=<registration_token>
|
|
||||||
GITEA_RUNNER_NAME=<runner_name>
|
|
||||||
@@ -1,8 +1,3 @@
|
|||||||
# Main variables for homepage
|
|
||||||
HOMEPAGE_ALLOWED_HOSTS='homepage.example.com,127.0.0.1:3000'
|
|
||||||
PATH_TO_CONFIG='/docker/data/homepage'
|
|
||||||
|
|
||||||
# Variables for services
|
|
||||||
HOMEPAGE_VAR_PROXMOX_URL=https://proxmox.example.com:8006
|
HOMEPAGE_VAR_PROXMOX_URL=https://proxmox.example.com:8006
|
||||||
HOMEPAGE_VAR_PROXMOX_PAM=root@pam
|
HOMEPAGE_VAR_PROXMOX_PAM=root@pam
|
||||||
HOMEPAGE_VAR_PROXMOX_SECRET='your_proxmox_api_token'
|
HOMEPAGE_VAR_PROXMOX_SECRET='your_proxmox_api_token'
|
||||||
@@ -29,7 +24,4 @@ HOMEPAGE_VAR_GRAFANA_URL=https://grafana.example.com
|
|||||||
HOMEPAGE_VAR_IT_TOOLS_URL=http://it-tools.example.com
|
HOMEPAGE_VAR_IT_TOOLS_URL=http://it-tools.example.com
|
||||||
HOMEPAGE_VAR_VAULTWARDEN_URL=https://vaultwarden.example.com
|
HOMEPAGE_VAR_VAULTWARDEN_URL=https://vaultwarden.example.com
|
||||||
HOMEPAGE_VAR_GITEA_URL=http://gitea.example.com:3000
|
HOMEPAGE_VAR_GITEA_URL=http://gitea.example.com:3000
|
||||||
HOMEPAGE_VAR_GITEA_KEY='your_gitea_api_token'
|
HOMEPAGE_VAR_GITEA_KEY='your_gitea_api_token'
|
||||||
HOMEPAGE_VAR_KOMODO_URL='http://komodo.example.com:9120/'
|
|
||||||
HOMEPAGE_VAR_KOMODO_KEY='K-your_komodo_api_key'
|
|
||||||
HOMEPAGE_VAR_KOMODO_SECRET='S-your_komodo_api_secret'
|
|
||||||
@@ -11,11 +11,10 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/api/healthcheck || exit 1"]
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000"]
|
||||||
interval: 10s
|
interval: 30s
|
||||||
timeout: 3s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 60s
|
|
||||||
networks:
|
networks:
|
||||||
- homepage-net
|
- homepage-net
|
||||||
|
|
||||||
|
|||||||
@@ -1,152 +0,0 @@
|
|||||||
####################################
|
|
||||||
# 🦎 KOMODO COMPOSE - VARIABLES 🦎 #
|
|
||||||
####################################
|
|
||||||
|
|
||||||
## These compose variables can be used with all Komodo deployment options.
|
|
||||||
## Pass these variables to the compose up command using `--env-file komodo/compose.env`.
|
|
||||||
## Additionally, they are passed to both Komodo Core and Komodo Periphery with `env_file: ./compose.env`,
|
|
||||||
## so you can pass any additional environment variables to Core / Periphery directly in this file as well.
|
|
||||||
|
|
||||||
## Stick to a specific version, or use `latest`
|
|
||||||
COMPOSE_KOMODO_IMAGE_TAG=latest
|
|
||||||
## Store dated database backups on the host - https://komo.do/docs/setup/backup
|
|
||||||
COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups
|
|
||||||
|
|
||||||
## DB credentials
|
|
||||||
KOMODO_DB_USERNAME=admin
|
|
||||||
KOMODO_DB_PASSWORD=admin
|
|
||||||
|
|
||||||
## Configure a secure passkey to authenticate between Core / Periphery.
|
|
||||||
KOMODO_PASSKEY=a_random_passkey
|
|
||||||
|
|
||||||
## Set your time zone for schedules
|
|
||||||
## https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
||||||
TZ=Etc/UTC
|
|
||||||
|
|
||||||
#=-------------------------=#
|
|
||||||
#= Komodo Core Environment =#
|
|
||||||
#=-------------------------=#
|
|
||||||
|
|
||||||
## Full variable list + descriptions are available here:
|
|
||||||
## 🦎 https://github.com/moghtech/komodo/blob/main/config/core.config.toml 🦎
|
|
||||||
|
|
||||||
## Note. Secret variables also support `${VARIABLE}_FILE` syntax to pass docker compose secrets.
|
|
||||||
## Docs: https://docs.docker.com/compose/how-tos/use-secrets/#examples
|
|
||||||
|
|
||||||
## Used for Oauth / Webhook url suggestion / Caddy reverse proxy.
|
|
||||||
KOMODO_HOST=https://demo.komo.do
|
|
||||||
## Displayed in the browser tab.
|
|
||||||
KOMODO_TITLE=Komodo
|
|
||||||
## Create a server matching this address as the "first server".
|
|
||||||
## Use `https://host.docker.internal:8120` when using systemd-managed Periphery.
|
|
||||||
KOMODO_FIRST_SERVER=https://periphery:8120
|
|
||||||
## Give the first server a custom name.
|
|
||||||
KOMODO_FIRST_SERVER_NAME=Local
|
|
||||||
## Make all buttons just double-click, rather than the full confirmation dialog.
|
|
||||||
KOMODO_DISABLE_CONFIRM_DIALOG=false
|
|
||||||
|
|
||||||
## Rate Komodo polls your servers for
|
|
||||||
## status / container status / system stats / alerting.
|
|
||||||
## Options: 1-sec, 5-sec, 15-sec, 1-min, 5-min, 15-min
|
|
||||||
## Default: 15-sec
|
|
||||||
KOMODO_MONITORING_INTERVAL="15-sec"
|
|
||||||
## Interval at which to poll Resources for any updates / automated actions.
|
|
||||||
## Options: 15-min, 1-hr, 2-hr, 6-hr, 12-hr, 1-day
|
|
||||||
## Default: 1-hr
|
|
||||||
KOMODO_RESOURCE_POLL_INTERVAL="1-hr"
|
|
||||||
|
|
||||||
## Used to auth incoming webhooks. Alt: KOMODO_WEBHOOK_SECRET_FILE
|
|
||||||
KOMODO_WEBHOOK_SECRET=a_random_secret
|
|
||||||
## Used to generate jwt. Alt: KOMODO_JWT_SECRET_FILE
|
|
||||||
KOMODO_JWT_SECRET=a_random_jwt_secret
|
|
||||||
## Time to live for jwt tokens.
|
|
||||||
## Options: 1-hr, 12-hr, 1-day, 3-day, 1-wk, 2-wk
|
|
||||||
KOMODO_JWT_TTL="1-day"
|
|
||||||
|
|
||||||
## Enable login with username + password.
|
|
||||||
KOMODO_LOCAL_AUTH=true
|
|
||||||
## Set the initial admin username created upon first launch.
|
|
||||||
## Comment out to disable initial user creation,
|
|
||||||
## and create first user using signup button.
|
|
||||||
KOMODO_INIT_ADMIN_USERNAME=admin
|
|
||||||
## Set the initial admin password
|
|
||||||
KOMODO_INIT_ADMIN_PASSWORD=changeme
|
|
||||||
## Disable new user signups.
|
|
||||||
KOMODO_DISABLE_USER_REGISTRATION=false
|
|
||||||
## All new logins are auto enabled
|
|
||||||
KOMODO_ENABLE_NEW_USERS=false
|
|
||||||
## Disable non-admins from creating new resources.
|
|
||||||
KOMODO_DISABLE_NON_ADMIN_CREATE=false
|
|
||||||
## Allows all users to have Read level access to all resources.
|
|
||||||
KOMODO_TRANSPARENT_MODE=false
|
|
||||||
|
|
||||||
## Prettier logging with empty lines between logs
|
|
||||||
KOMODO_LOGGING_PRETTY=false
|
|
||||||
## More human readable logging of startup config (multi-line)
|
|
||||||
KOMODO_PRETTY_STARTUP_CONFIG=false
|
|
||||||
|
|
||||||
## OIDC Login
|
|
||||||
KOMODO_OIDC_ENABLED=false
|
|
||||||
## Must reachable from Komodo Core container
|
|
||||||
# KOMODO_OIDC_PROVIDER=https://oidc.provider.internal/application/o/komodo
|
|
||||||
## Change the host to one reachable be reachable by users (optional if it is the same as above).
|
|
||||||
## DO NOT include the `path` part of the URL.
|
|
||||||
# KOMODO_OIDC_REDIRECT_HOST=https://oidc.provider.external
|
|
||||||
## Your OIDC client id
|
|
||||||
# KOMODO_OIDC_CLIENT_ID= # Alt: KOMODO_OIDC_CLIENT_ID_FILE
|
|
||||||
## Your OIDC client secret.
|
|
||||||
## If your provider supports PKCE flow, this can be ommitted.
|
|
||||||
# KOMODO_OIDC_CLIENT_SECRET= # Alt: KOMODO_OIDC_CLIENT_SECRET_FILE
|
|
||||||
## Make usernames the full email.
|
|
||||||
## Note. This does not work for all OIDC providers.
|
|
||||||
# KOMODO_OIDC_USE_FULL_EMAIL=true
|
|
||||||
## Add additional trusted audiences for token claims verification.
|
|
||||||
## Supports comma separated list, and passing with _FILE (for compose secrets).
|
|
||||||
# KOMODO_OIDC_ADDITIONAL_AUDIENCES=abc,123 # Alt: KOMODO_OIDC_ADDITIONAL_AUDIENCES_FILE
|
|
||||||
|
|
||||||
## Github Oauth
|
|
||||||
KOMODO_GITHUB_OAUTH_ENABLED=false
|
|
||||||
# KOMODO_GITHUB_OAUTH_ID= # Alt: KOMODO_GITHUB_OAUTH_ID_FILE
|
|
||||||
# KOMODO_GITHUB_OAUTH_SECRET= # Alt: KOMODO_GITHUB_OAUTH_SECRET_FILE
|
|
||||||
|
|
||||||
## Google Oauth
|
|
||||||
KOMODO_GOOGLE_OAUTH_ENABLED=false
|
|
||||||
# KOMODO_GOOGLE_OAUTH_ID= # Alt: KOMODO_GOOGLE_OAUTH_ID_FILE
|
|
||||||
# KOMODO_GOOGLE_OAUTH_SECRET= # Alt: KOMODO_GOOGLE_OAUTH_SECRET_FILE
|
|
||||||
|
|
||||||
## Aws - Used to launch Builder instances.
|
|
||||||
KOMODO_AWS_ACCESS_KEY_ID= # Alt: KOMODO_AWS_ACCESS_KEY_ID_FILE
|
|
||||||
KOMODO_AWS_SECRET_ACCESS_KEY= # Alt: KOMODO_AWS_SECRET_ACCESS_KEY_FILE
|
|
||||||
|
|
||||||
#=------------------------------=#
|
|
||||||
#= Komodo Periphery Environment =#
|
|
||||||
#=------------------------------=#
|
|
||||||
|
|
||||||
## Full variable list + descriptions are available here:
|
|
||||||
## 🦎 https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml 🦎
|
|
||||||
|
|
||||||
## Specify the root directory used by Periphery agent.
|
|
||||||
PERIPHERY_ROOT_DIRECTORY=/etc/komodo
|
|
||||||
|
|
||||||
## Periphery passkeys must include KOMODO_PASSKEY to authenticate.
|
|
||||||
PERIPHERY_PASSKEYS=${KOMODO_PASSKEY}
|
|
||||||
|
|
||||||
## Specify whether to disable the terminals feature
|
|
||||||
## and disallow remote shell access (inside the Periphery container).
|
|
||||||
PERIPHERY_DISABLE_TERMINALS=false
|
|
||||||
|
|
||||||
## Enable SSL using self signed certificates.
|
|
||||||
## Connect to Periphery at https://address:8120.
|
|
||||||
PERIPHERY_SSL_ENABLED=true
|
|
||||||
|
|
||||||
## If the disk size is overreporting, can use one of these to
|
|
||||||
## whitelist / blacklist the disks to filter them, whichever is easier.
|
|
||||||
## Accepts comma separated list of paths.
|
|
||||||
## Usually whitelisting just /etc/hostname gives correct size.
|
|
||||||
PERIPHERY_INCLUDE_DISK_MOUNTS=/etc/hostname
|
|
||||||
# PERIPHERY_EXCLUDE_DISK_MOUNTS=/snap,/etc/repos
|
|
||||||
|
|
||||||
## Prettier logging with empty lines between logs
|
|
||||||
PERIPHERY_LOGGING_PRETTY=false
|
|
||||||
## More human readable logging of startup config (multi-line)
|
|
||||||
PERIPHERY_PRETTY_STARTUP_CONFIG=false
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
services:
|
|
||||||
periphery:
|
|
||||||
image: ghcr.io/moghtech/komodo-periphery:latest
|
|
||||||
container_name: komodo-periphery
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "8120:8120"
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /proc:/proc
|
|
||||||
- /etc/komodo:/etc/komodo
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
################################
|
|
||||||
# 🦎 KOMODO COMPOSE - MONGO 🦎 #
|
|
||||||
################################
|
|
||||||
## This compose file will deploy:
|
|
||||||
## 1. MongoDB
|
|
||||||
## 2. Komodo Core
|
|
||||||
## 3. Komodo Periphery
|
|
||||||
services:
|
|
||||||
mongo:
|
|
||||||
image: mongo:4.4.18
|
|
||||||
container_name: komodo-mongo
|
|
||||||
labels:
|
|
||||||
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
||||||
command: --quiet --wiredTigerCacheSizeGB 0.25
|
|
||||||
restart: unless-stopped
|
|
||||||
# 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}
|
|
||||||
container_name: komodo-core
|
|
||||||
labels:
|
|
||||||
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
- mongo
|
|
||||||
ports:
|
|
||||||
- 9120:9120
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
environment:
|
|
||||||
KOMODO_DATABASE_ADDRESS: mongo:27017
|
|
||||||
KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
|
|
||||||
KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
|
|
||||||
volumes:
|
|
||||||
## Store dated backups of the database - https://komo.do/docs/setup/backup
|
|
||||||
## No need to have bind mounts because of the ability to create backups on a separate volume
|
|
||||||
- ${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/scripts
|
|
||||||
periphery:
|
|
||||||
image: ghcr.io/moghtech/komodo-periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
|
|
||||||
container_name: komodo-periphery
|
|
||||||
labels:
|
|
||||||
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
|
||||||
restart: unless-stopped
|
|
||||||
env_file:
|
|
||||||
- .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:
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Where your media will be stored (if using bind mount, otherwise leave empty)
|
# Where your media will be stored
|
||||||
DATA_FOLDER=/path/to/data
|
DATA_FOLDER=/path/to/data
|
||||||
|
|
||||||
# URL for your domain for Mealie
|
# URL for your domain for Mealie
|
||||||
|
|||||||
@@ -12,25 +12,22 @@ services:
|
|||||||
limits:
|
limits:
|
||||||
memory: 1000M #
|
memory: 1000M #
|
||||||
volumes:
|
volumes:
|
||||||
- mealie_data:/app/data/
|
- ${DATA_FOLDER}:/app/data/
|
||||||
environment:
|
environment:
|
||||||
# Set Backend ENV Variables Here
|
# Set Backend ENV Variables Here
|
||||||
ALLOW_SIGNUP: "false"
|
ALLOW_SIGNUP: "false"
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
TZ: Europe/Warsaw
|
TZ: Europe/Warsaw
|
||||||
BASE_URL: ${BASE_URL:-https://mealie.yourdomain.com}
|
BASE_URL: ${YOUR_DOMAIN:-https://mealie.yourdomain.com}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "python -c 'import socket; s = socket.socket(); s.connect((\"localhost\", 9000))'"]
|
test: ["CMD", "curl", "-f", "http://localhost:9000"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- mealie-net
|
- mealie-net
|
||||||
|
|
||||||
volumes:
|
|
||||||
mealie_data:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mealie-net:
|
mealie-net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
services:
|
|
||||||
semaphore:
|
|
||||||
container_name: semaphore-ui
|
|
||||||
image: semaphoreui/semaphore:latest
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "3030:3000"
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
volumes:
|
|
||||||
- semaphore-data:/var/lib/semaphore
|
|
||||||
- semaphore-config:/etc/semaphore
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
networks:
|
|
||||||
- semaphore-net
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
semaphore-data:
|
|
||||||
driver: local
|
|
||||||
semaphore-config:
|
|
||||||
driver: local
|
|
||||||
|
|
||||||
networks:
|
|
||||||
semaphore-net:
|
|
||||||
driver: bridge
|
|
||||||
@@ -1,17 +1,29 @@
|
|||||||
services:
|
services:
|
||||||
semaphore:
|
semaphore:
|
||||||
ports:
|
container_name: semaphore-ui
|
||||||
- 3030:3000
|
image: semaphoreui/semaphore:latest
|
||||||
image: semaphoreui/semaphore:v2.16.18
|
restart: unless-stopped
|
||||||
environment:
|
ports:
|
||||||
SEMAPHORE_DB_DIALECT: sqlite
|
- "3030:3000"
|
||||||
SEMAPHORE_ADMIN: ${ADMIN_USER}
|
env_file:
|
||||||
SEMAPHORE_ADMIN_PASSWORD: ${ADMIN_PASS}
|
- .env
|
||||||
SEMAPHORE_ADMIN_NAME: ${ADMIN_NAME}
|
volumes:
|
||||||
SEMAPHORE_ADMIN_EMAIL: ${ADMIN_EMAIL}
|
- semaphore-data:/var/lib/semaphore
|
||||||
volumes:
|
- semaphore-config:/etc/semaphore
|
||||||
- semaphore-data:/var/lib/semaphore
|
healthcheck:
|
||||||
- semaphore-config:/etc/semaphore
|
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
networks:
|
||||||
|
- semaphore-net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
semaphore-data:
|
semaphore-data:
|
||||||
|
driver: local
|
||||||
semaphore-config:
|
semaphore-config:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
semaphore-net:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user