mirror of
https://github.com/atuinsh/atuin.git
synced 2025-01-07 15:00:34 +01:00
docs: update docker compose (#1818)
This commit is contained in:
parent
a5e1d25287
commit
7d956b52b9
@ -2,7 +2,7 @@ version: '3.5'
|
||||
services:
|
||||
atuin:
|
||||
restart: always
|
||||
image: ghcr.io/atuinsh/atuin:latest
|
||||
image: ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE>
|
||||
command: server start
|
||||
volumes:
|
||||
- "./config:/config"
|
||||
@ -13,13 +13,14 @@ 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_DB_USERNAME:$ATUIN_DB_PASSWORD@db/atuin
|
||||
RUST_LOG: info,atuin_server=debug
|
||||
postgresql:
|
||||
image: postgres:14
|
||||
restart: unless-stopped
|
||||
volumes: # Don't remove permanent storage for index database files!
|
||||
- "./database:/var/lib/postgresql/data/"
|
||||
environment:
|
||||
POSTGRES_USER: atuin
|
||||
POSTGRES_PASSWORD: really-insecure
|
||||
POSTGRES_DB: atuin
|
||||
POSTGRES_USER: ${ATUIN_DB_USERNAME}
|
||||
POSTGRES_PASSWORD: ${ATUIN_DB_PASSWORD}
|
||||
POSTGRES_DB: ${ATUIN_DB_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user