digitial workbench of my dreams finally coming together. selfstack has been on my todo list since last november.
This commit is contained in:
4
inprep/atuin/.env
Normal file
4
inprep/atuin/.env
Normal file
@@ -0,0 +1,4 @@
|
||||
ATUIN_DB_NAME=atuin
|
||||
ATUIN_DB_USERNAME=atuin
|
||||
# Choose your own secure password
|
||||
ATUIN_DB_PASSWORD=ThisIsreally-insecure123
|
25
inprep/atuin/docker-compose.yml
Normal file
25
inprep/atuin/docker-compose.yml
Normal 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}
|
Reference in New Issue
Block a user