fix(atuin): correct image and config

This commit is contained in:
Nicolas Meienberger 2024-01-29 19:53:14 +01:00
parent be5822be62
commit 29112c8520
4 changed files with 20 additions and 7 deletions

View File

@ -19,11 +19,22 @@
"no_gui": true, "no_gui": true,
"form_fields": [ "form_fields": [
{ {
"type": "password", "type": "random",
"label": "Atuin DB Password", "label": "Atuin DB Password",
"required": true, "min": 50,
"env_variable": "ATUIN_DB_PASSWORD" "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"
]
} }

View File

@ -6,14 +6,14 @@ services:
image: ghcr.io/atuinsh/atuin:latest image: ghcr.io/atuinsh/atuin:latest
command: server start command: server start
volumes: volumes:
- "${APP_DATA_DIR}:/config" - "${APP_DATA_DIR}/data/config:/config"
links: links:
- postgresql:db - postgresql:db
ports: ports:
- 8888:8888 - ${APP_PORT}:8888
environment: environment:
ATUIN_HOST: "0.0.0.0" 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" ATUIN_DB_URI: "postgres://atuin:${ATUIN_DB_PASSWORD}@db/atuin"
networks: networks:
- tipi_main_network - tipi_main_network
@ -54,4 +54,4 @@ services:
POSTGRES_DB: atuin POSTGRES_DB: atuin
networks: networks:
- tipi_main_network - tipi_main_network

View File

@ -1,5 +1,7 @@
# Atuin Server # Atuin Server
Once installed, [configure your client](https://docs.atuin.sh/self-hosting/usage/) to use `<your-tipi-ip>:8888` as sync address.
## Making your shell magical ## Making your shell magical
Sync, search and backup shell history with Atuin Sync, search and backup shell history with Atuin

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 17 KiB