This commit is contained in:
traveler 2025-04-19 17:08:36 -05:00
parent ddd4969a8a
commit cf2ab6e5ae
2 changed files with 6 additions and 6 deletions

View file

@ -62,7 +62,7 @@ KOMODO_LOCAL_AUTH=true
## Disable new user signups. ## Disable new user signups.
KOMODO_DISABLE_USER_REGISTRATION=false KOMODO_DISABLE_USER_REGISTRATION=false
## All new logins are auto enabled ## All new logins are auto enabled
KOMODO_ENABLE_NEW_USERS=false KOMODO_ENABLE_NEW_USERS=true
## Disable non-admins from creating new resources. ## Disable non-admins from creating new resources.
KOMODO_DISABLE_NON_ADMIN_CREATE=false KOMODO_DISABLE_NON_ADMIN_CREATE=false
## Allows all users to have Read level access to all resources. ## Allows all users to have Read level access to all resources.

View file

@ -13,7 +13,7 @@
# # set +a # # set +a
services: services:
mongo: komodo_mongo:
image: mongo image: mongo
labels: labels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainers komodo.skip: # Prevent Komodo from stopping with StopAllContainers
@ -36,13 +36,13 @@ services:
constraints: constraints:
- node.hostname == docker2 - node.hostname == docker2
core: komodo_core:
image: ghcr.io/moghtech/komodo-core:${COMPOSE_KOMODO_IMAGE_TAG:-latest} image: ghcr.io/moghtech/komodo-core:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
labels: labels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainers komodo.skip: # Prevent Komodo from stopping with StopAllContainers
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- mongo - komodo_mongo
logging: logging:
driver: ${COMPOSE_LOGGING_DRIVER:-local} driver: ${COMPOSE_LOGGING_DRIVER:-local}
ports: ports:
@ -52,7 +52,7 @@ services:
- netgrimoire - netgrimoire
#env_file: ./compose.env #env_file: ./compose.env
environment: environment:
KOMODO_DATABASE_ADDRESS: mongo:27017 KOMODO_DATABASE_ADDRESS: komodo_mongo:27017
KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME} KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD} KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
volumes: volumes:
@ -61,7 +61,7 @@ services:
## Store sync files on server ## Store sync files on server
# - /path/to/syncs:/syncs # - /path/to/syncs:/syncs
## Optionally mount a custom core.config.toml ## Optionally mount a custom core.config.toml
# - /path/to/core.config.toml:/config/config.toml - /DockerVol/komodo/config.toml:/config/config.toml
## Allows for systemd Periphery connection at ## Allows for systemd Periphery connection at
## "http://host.docker.internal:8120" ## "http://host.docker.internal:8120"
# extra_hosts: # extra_hosts: