2022-04-22 02:41:55 -06:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
|
|
|
atuin:
|
|
|
|
restart: always
|
2023-07-30 16:08:00 -06:00
|
|
|
image: ghcr.io/atuinsh/atuin:main
|
2022-04-22 02:41:55 -06:00
|
|
|
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
|