diff --git a/apps/atuin/config.json b/apps/atuin/config.json index 956f86a4..a64fcf4d 100755 --- a/apps/atuin/config.json +++ b/apps/atuin/config.json @@ -19,11 +19,22 @@ "no_gui": true, "form_fields": [ { - "type": "password", + "type": "random", "label": "Atuin DB Password", - "required": true, + "min": 50, "env_variable": "ATUIN_DB_PASSWORD" + }, + { + "type": "boolean", + "label": "Allow User Registrastion", + "hint": "Set it to true intially to create the first user.", + "placeholder": "true", + "default": true, + "env_variable": "ATUIN_ALLOW_REGISTRATION" } ], - "supported_architectures": ["amd64","arm64"] + "supported_architectures": [ + "amd64", + "arm64" + ] } diff --git a/apps/atuin/docker-compose.yml b/apps/atuin/docker-compose.yml index 4566b66c..773aa11e 100755 --- a/apps/atuin/docker-compose.yml +++ b/apps/atuin/docker-compose.yml @@ -6,14 +6,14 @@ services: image: ghcr.io/atuinsh/atuin:latest command: server start volumes: - - "${APP_DATA_DIR}:/config" + - "${APP_DATA_DIR}/data/config:/config" links: - postgresql:db ports: - - 8888:8888 + - ${APP_PORT}:8888 environment: ATUIN_HOST: "0.0.0.0" - ATUIN_OPEN_REGISTRATION: "true" + ATUIN_OPEN_REGISTRATION: ${ATUIN_ALLOW_REGISTRATION} ATUIN_DB_URI: "postgres://atuin:${ATUIN_DB_PASSWORD}@db/atuin" networks: - tipi_main_network @@ -54,4 +54,4 @@ services: POSTGRES_DB: atuin networks: - tipi_main_network - \ No newline at end of file + diff --git a/apps/atuin/metadata/description.md b/apps/atuin/metadata/description.md index b979e289..c846df6b 100755 --- a/apps/atuin/metadata/description.md +++ b/apps/atuin/metadata/description.md @@ -1,5 +1,7 @@ # Atuin Server +Once installed, [configure your client](https://docs.atuin.sh/self-hosting/usage/) to use `:8888` as sync address. + ## Making your shell magical Sync, search and backup shell history with Atuin diff --git a/apps/atuin/metadata/logo.jpg b/apps/atuin/metadata/logo.jpg index 229b3c0f..36fc4437 100644 Binary files a/apps/atuin/metadata/logo.jpg and b/apps/atuin/metadata/logo.jpg differ