aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-04-03 00:34:39 +0100
committerGitHub <noreply@github.com>2026-04-03 00:34:39 +0100
commitb7ea01b9d990dbc6f3f0fd30246b621943f8b298 (patch)
treed78c2180310e8c25ada6eebce450f15ef2a3b021 /docs
parentfeat: Add 'atuin config' subcommand for reading and setting config values (#3... (diff)
downloadatuin-b7ea01b9d990dbc6f3f0fd30246b621943f8b298.zip
docs: remove docker-compose duplication (#3376)
It does not make sense to have two copies of it to keep in sync The user needs to read and edit this file anyway, so prefer keeping the docs copy resolves #3371 ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/self-hosting/docker.md19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/docs/self-hosting/docker.md b/docs/docs/self-hosting/docker.md
index df8af41f..e6296ff1 100644
--- a/docs/docs/self-hosting/docker.md
+++ b/docs/docs/self-hosting/docker.md
@@ -20,15 +20,6 @@ docker run -d -v "$CONFIG:/config" ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE>
Using the already build docker image hosting your own Atuin can be done using the supplied docker-compose file.
-Create a `.env` file next to [`docker-compose.yml`](https://github.com/atuinsh/atuin/raw/main/docker-compose.yml) with contents like this:
-
-```ini
-ATUIN_DB_NAME=atuin
-ATUIN_DB_USERNAME=atuin
-# Choose your own secure password. Stick to [A-Za-z0-9.~_-]
-ATUIN_DB_PASSWORD=really-insecure
-```
-
Create a `docker-compose.yml`:
```yaml
@@ -59,6 +50,16 @@ services:
POSTGRES_DB: ${ATUIN_DB_NAME}
```
+Create a `.env` file next to `docker-compose.yml` with contents like this:
+
+```ini
+ATUIN_DB_NAME=atuin
+ATUIN_DB_USERNAME=atuin
+# Choose your own secure password. Stick to [A-Za-z0-9.~_-]
+ATUIN_DB_PASSWORD=really-insecure
+```
+
+
Start the services using `docker compose`:
```sh