aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
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