add db password
This commit is contained in:
parent
2224636245
commit
43241a35a2
|
@ -15,6 +15,13 @@
|
||||||
"short_desc": "Magical Shell History",
|
"short_desc": "Magical Shell History",
|
||||||
"author": "atuinsh",
|
"author": "atuinsh",
|
||||||
"source": "https://github.com/atuinsh/atuin",
|
"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"]
|
"supported_architectures": ["amd64"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
ATUIN_HOST: "0.0.0.0"
|
ATUIN_HOST: "0.0.0.0"
|
||||||
ATUIN_OPEN_REGISTRATION: "true"
|
ATUIN_OPEN_REGISTRATION: "true"
|
||||||
ATUIN_DB_URI: postgres://atuin:really-insecure@db/atuin
|
ATUIN_DB_URI: "postgres://atuin:${ATUIN_DB_PASSWORD}@db/atuin"
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
labels:
|
labels:
|
||||||
|
@ -49,7 +49,7 @@ services:
|
||||||
- "${APP_DATA_DIR}/data:/var/lib/postgresql/data/"
|
- "${APP_DATA_DIR}/data:/var/lib/postgresql/data/"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: atuin
|
POSTGRES_USER: atuin
|
||||||
POSTGRES_PASSWORD: really-insecure
|
POSTGRES_PASSWORD: "${ATUIN_DB_PASSWORD}"
|
||||||
POSTGRES_DB: atuin
|
POSTGRES_DB: atuin
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
Loading…
Reference in New Issue
Block a user