mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-26 18:25:06 +01:00
a9d1ece0cb
Also added section to how to run your own server. Co-authored-by: Lars Chr. Duus Hausmann <lars.chr@duus-hausmann.dk>
26 lines
657 B
YAML
26 lines
657 B
YAML
version: '3.5'
|
|
services:
|
|
atuin:
|
|
restart: always
|
|
image: ghcr.io/ellie/atuin:main
|
|
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:really-insecure@db/atuin
|
|
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
|