add db password

This commit is contained in:
cori.schlegel 2024-01-14 05:09:32 +00:00 committed by cori
parent 2224636245
commit 43241a35a2
2 changed files with 10 additions and 3 deletions

View File

@ -15,6 +15,13 @@
"short_desc": "Magical Shell History",
"author": "atuinsh",
"source": "https://github.com/atuinsh/atuin",
"form_fields": [],
"form_fields": [
{
"type": "password",
"label": "Atuin DB Password",
"required": true,
"env_variable": "ATUIN_DB_PASSWORD"
}
],
"supported_architectures": ["amd64"]
}

View File

@ -13,7 +13,7 @@ services:
environment:
ATUIN_HOST: "0.0.0.0"
ATUIN_OPEN_REGISTRATION: "true"
ATUIN_DB_URI: postgres://atuin:really-insecure@db/atuin
ATUIN_DB_URI: "postgres://atuin:${ATUIN_DB_PASSWORD}@db/atuin"
networks:
- tipi_main_network
labels:
@ -49,7 +49,7 @@ services:
- "${APP_DATA_DIR}/data:/var/lib/postgresql/data/"
environment:
POSTGRES_USER: atuin
POSTGRES_PASSWORD: really-insecure
POSTGRES_PASSWORD: "${ATUIN_DB_PASSWORD}"
POSTGRES_DB: atuin
networks:
- tipi_main_network