mirror of
https://github.com/ellie/atuin.git
synced 2024-09-11 21:18:22 +03:00
27 lines
765 B
YAML
27 lines
765 B
YAML
version: '3.5'
|
|
services:
|
|
atuin:
|
|
restart: always
|
|
image: ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE>
|
|
command: server start
|
|
volumes:
|
|
- "./config:/config"
|
|
links:
|
|
- postgresql:db
|
|
ports:
|
|
- 8888:8888
|
|
environment:
|
|
ATUIN_HOST: "0.0.0.0"
|
|
ATUIN_OPEN_REGISTRATION: "true"
|
|
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_DB_USERNAME}
|
|
POSTGRES_PASSWORD: ${ATUIN_DB_PASSWORD}
|
|
POSTGRES_DB: ${ATUIN_DB_NAME}
|