digitial workbench of my dreams finally coming together. selfstack has been on my todo list since last november.

This commit is contained in:
2025-07-11 10:45:45 -05:00
parent a2ee7ace3e
commit 3fda905bcd
4 changed files with 33 additions and 5 deletions

4
inprep/atuin/.env Normal file
View File

@@ -0,0 +1,4 @@
ATUIN_DB_NAME=atuin
ATUIN_DB_USERNAME=atuin
# Choose your own secure password
ATUIN_DB_PASSWORD=ThisIsreally-insecure123

View File

@@ -0,0 +1,25 @@
services:
atuin:
restart: always
image: ghcr.io/atuinsh/atuin:18.6.1
command: server start
volumes:
- "./config:/config"
links:
- postgresql:db
ports:
- 2003:8888
environment:
ATUIN_HOST: "0.0.0.0"
ATUIN_OPEN_REGISTRATION: "true"
ATUIN_DB_URI: postgres://$ATUIN_DB_USERNAME:$ATUIN_DB_PASSWORD@db/$ATUIN_DB_NAME
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}