include backups path in env / yaml

This commit is contained in:
mbecker20
2025-08-18 10:46:20 -07:00
parent 3094d0036a
commit 134d1697e9
3 changed files with 16 additions and 10 deletions

View File

@@ -9,6 +9,8 @@
## 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

View File

@@ -54,11 +54,13 @@ services:
KOMODO_DATABASE_ADDRESS: ferretdb:27017
KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
# volumes:
# ## Store sync files on server
# - /path/to/syncs:/syncs
# ## Optionally mount a custom core.config.toml
# - /path/to/core.config.toml:/config/config.toml
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:

View File

@@ -37,11 +37,13 @@ services:
KOMODO_DATABASE_ADDRESS: mongo:27017
KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
# volumes:
# ## Store sync files on server
# - /path/to/syncs:/syncs
# ## Optionally mount a custom core.config.toml
# - /path/to/core.config.toml:/config/config.toml
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: