From 3fda905bcd6c20b2c87c1e060fbe187cd7439e86 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Fri, 11 Jul 2025 10:45:45 -0500 Subject: [PATCH] digitial workbench of my dreams finally coming together. selfstack has been on my todo list since last november. --- README.md | 7 +++--- inprep/atuin/.env | 4 +++ inprep/atuin/docker-compose.yml | 25 +++++++++++++++++++ .../reactive-resume/docker-compose.yml | 2 +- 4 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 inprep/atuin/.env create mode 100644 inprep/atuin/docker-compose.yml diff --git a/README.md b/README.md index 854882c..b0539ea 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,13 @@ It is getting dialed in over time, this is the current snapshot as of 7/2/2025. |---------------------------------------------------|------| | (timetracking) wakaapi | 2001 | | (analytics) metrics | 2002 | +| (analytics) shell history (atuin) | 2003 | | (youtube archiving) tube-archivist | 2004 | | (dashboard to all my local hosted apps) easy-gate | 2005 | +| apple heatlh export to influx/grafana | 2006 | | (resume hacking) reactive-resume | 2007 | | (habit tracking) atomichabits | 2008 | -| (food tracking) cleanslate | 2010 | -| apple heatlh export to influx/grafana | 2012 | -| kiwix | 2013 | - +| kiwix | 2009 | ## Secrets diff --git a/inprep/atuin/.env b/inprep/atuin/.env new file mode 100644 index 0000000..a84bdd4 --- /dev/null +++ b/inprep/atuin/.env @@ -0,0 +1,4 @@ +ATUIN_DB_NAME=atuin +ATUIN_DB_USERNAME=atuin +# Choose your own secure password +ATUIN_DB_PASSWORD=ThisIsreally-insecure123 \ No newline at end of file diff --git a/inprep/atuin/docker-compose.yml b/inprep/atuin/docker-compose.yml new file mode 100644 index 0000000..8fd00c3 --- /dev/null +++ b/inprep/atuin/docker-compose.yml @@ -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} \ No newline at end of file diff --git a/released-to-production/reactive-resume/docker-compose.yml b/released-to-production/reactive-resume/docker-compose.yml index 06163d7..e79b68f 100644 --- a/released-to-production/reactive-resume/docker-compose.yml +++ b/released-to-production/reactive-resume/docker-compose.yml @@ -52,7 +52,7 @@ services: container_name: tsys-reactiveresume-app restart: unless-stopped ports: - - "2003:3000" + - "2007:3000" depends_on: - reactiveresume-postgres - reactiveresume-minio