add db password
This commit is contained in:
parent
2224636245
commit
43241a35a2
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user