{"status":"OK","last_updated":"2026-11-29 15:34:37+00:00","data":{"image":{"name":"hishtory-server","initial_date":"2023-05-19","github_url":"https://github.com/linuxserver-playground/docker-hishtory-server","project_url":"https://github.com/ddworken/hishtory","project_logo":"https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/hishtory-server-icon.png","description":"[hiSHtory](https://github.com/ddworken/hishtory) is a better shell history. It stores your shell history in context (what directory you ran the command in, whether it succeeded or failed, how long it took, etc). This is all stored locally and end-to-end encrypted for syncing to to all your other computers.","version":"v0.335-ls7","version_timestamp":"2026-11-27 04:29:27+00:00","category":"Administration","stable":true,"deprecated":false,"stars":0,"tags":[{"tag":"latest","desc":"Stable releases"}],"architectures":[{"arch":"x86_64","tag":"amd64-latest"},{"arch":"arm64","tag":"arm64v8-latest"}],"changelog":[{"date":"2026-07-05","desc":"Rebase to Alpine 3.24."},{"date":"2025-12-25","desc":"Rebase to Alpine 3.23."},{"date":"2025-07-05","desc":"Rebase to Alpine 3.22."},{"date":"2024-12-19","desc":"Rebase to Alpine 3.21."},{"date":"2024-08-26","desc":"Bump to go 1.23"},{"date":"2024-05-24","desc":"Rebase to Alpine 3.20."},{"date":"2024-01-31","desc":"Rebase to Alpine 3.19."},{"date":"2023-05-19","desc":"Initial Release."}],"config":{"application_setup":"https://github.com/linuxserver-playground/docker-hishtory-server?tab=readme-ov-file#application-setup","readonly_supported":true,"nonroot_supported":true,"env_vars":[{"name":"PUID","value":"1000","desc":"User ID","optional":false},{"name":"PGID","value":"1000","desc":"Group ID","optional":false},{"name":"TZ","value":"Etc/UTC","desc":"Timezone","optional":false},{"name":"HISHTORY_POSTGRES_DB","value":"postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable","desc":"Postgres DB [Connection URI](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING). Special characters must be [URL encoded](https://en.wikipedia.org/wiki/URL_encoding).","optional":true},{"name":"HISHTORY_SQLITE_DB","value":"/config/hishtory.db","desc":"SQLite database path. Needs to be a mounted volume for persistence. Don't set at the same time as HISHTORY_POSTGRES_DB.","optional":true}],"ports":[{"external":"8080","internal":"8080","desc":"API port","optional":false}]},"title":"Hishtory-server","sponsor":[],"maintainers":[],"kind":"app","categories":["Administration"],"setup_instructions":"After you have installed hishtory on your machine, add `export HISHTORY_SERVER=http://127.0.0.1:8080` (with your server details) to your shellrc. Then run `hishtory init` (or `hishtory init ${SECRET_KEY}`) to initialise hishtory against your local server.\n\nSee the [project readme](https://github.com/ddworken/hishtory/blob/master/README.md) for more details.","archived":false,"release_url":"https://github.com/linuxserver-playground/docker-hishtory-server/releases/tag/v0.335-ls7","upstream_version":"v0.335","base":"alpine","releases":[{"branch":"main","release_tag":"latest","channel":"stable","tag":"v0.335-ls7","upstream_version":"v0.335","created":"2026-11-27T04:29:27Z","release_url":"https://github.com/linuxserver-playground/docker-hishtory-server/releases/tag/v0.335-ls7","base":"ghcr.io/linuxserver-playground/baseimage-alpine:3.24","platforms":["amd64","arm64"]}],"docs_url":"https://linuxserver-playground.github.io/site/images/hishtory-server/","registries":{"ghcr":"ghcr.io/linuxserver-playground/hishtory-server","packages_url":"https://github.com/orgs/linuxserver-playground/packages/container/package/hishtory-server"},"snippets":{"docker_compose":"---\nservices:\n  hishtory-server:\n    image: ghcr.io/linuxserver-playground/hishtory-server:latest\n    container_name: hishtory-server\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Etc/UTC\n      - HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable #optional\n      - HISHTORY_SQLITE_DB=/config/hishtory.db #optional\n    ports:\n      - 8080:8080\n    restart: unless-stopped\n","docker_run":"docker run -d \\\n  --name=hishtory-server \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable `#optional` \\\n  -e HISHTORY_SQLITE_DB=/config/hishtory.db `#optional` \\\n  -p 8080:8080 \\\n  --restart unless-stopped \\\n  ghcr.io/linuxserver-playground/hishtory-server:latest\n"},"links":{"builds":"https://linuxserver-playground.github.io/hub/api/v1/catalog/hishtory-server/builds.json","docs":"https://linuxserver-playground.github.io/hub/stores/docs/images/docker-hishtory-server.md","documentation":"https://linuxserver-playground.github.io/hub/api/v1/catalog/hishtory-server/docs.json","kubernetes":"https://linuxserver-playground.github.io/hub/api/v1/catalog/hishtory-server/kubernetes.yaml","quadlet":"https://linuxserver-playground.github.io/hub/api/v1/catalog/hishtory-server/quadlet.container","mods":"https://linuxserver-playground.github.io/hub/api/v1/catalog/hishtory-server/mods.json"}}}}