Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update docs (#1181)

Leendert de Borst961977c9e241
diff --git a/dockerfiles/all-in-one/s6-scripts/notification/run b/dockerfiles/all-in-one/s6-scripts/notification/run
index 608e33e10..372eb29ef 100755
--- a/dockerfiles/all-in-one/s6-scripts/notification/run
+++ b/dockerfiles/all-in-one/s6-scripts/notification/run
@@ -37,16 +37,16 @@ if [ "$VERBOSITY" -le 1 ]; then
# Admin password hash exists - show the legacy warning
echo "πŸ”‘ Admin Login:"
echo " β€’ Username: admin"
- echo " β€’ Password: (previously set - to reset the admin password, login to this container via \`docker exec -it [container-name] /bin/bash\` and run: aliasvault reset-admin-password)"
+ echo " β€’ Password: (previously set - to reset the admin password, login to this container via \`docker exec -it aliasvault /bin/bash\` and run: aliasvault reset-admin-password)"
echo ""
else
# No admin password hash file - show setup instructions
echo "πŸ”‘ Admin Setup:"
echo " β€’ Admin user is not configured by default"
echo " β€’ To configure admin access:"
- echo " 1. docker exec -it [container-name] /bin/bash"
- echo " 2. reset-admin-password.sh"
- echo " 3. Restart the container"
+ echo " 1. $ docker exec -it aliasvault /bin/bash"
+ echo " 2. $ aliasvault reset-admin-password"
+ echo " 3. $ docker compose restart"
echo ""
fi
diff --git a/docs/installation/docker-compose/advanced/lifecycle.md b/docs/installation/docker-compose/advanced/lifecycle.md
index 6d2c9f414..823758ec4 100644
--- a/docs/installation/docker-compose/advanced/lifecycle.md
+++ b/docs/installation/docker-compose/advanced/lifecycle.md
@@ -12,19 +12,19 @@ You can stop and start AliasVault via the default docker compose commands. Run t
## Stop
To stop AliasVault:
```bash
-docker compose down
+$ docker compose down
```
## Start
To start AliasVault:
```bash
-docker compose up -d
+$ docker compose up -d
```
## Restart
-To restart AliasVault:
+To restart AliasVault (note: when making changes to the `docker-compose.yml`, you'll need to manually stop and start to make the new changes be applied)
```bash
-docker compose restart
+$ docker compose restart
```
diff --git a/docs/installation/docker-compose/advanced/uninstall.md b/docs/installation/docker-compose/advanced/uninstall.md
index f78244209..c6ad92574 100644
--- a/docs/installation/docker-compose/advanced/uninstall.md
+++ b/docs/installation/docker-compose/advanced/uninstall.md
@@ -16,5 +16,5 @@ This will not delete any data stored in the database. If you wish to delete all
### Steps
1. Run docker compose down and remove any local Docker images related to AliasVault.
```bash
-docker compose down --rmi all
+$ docker compose down --rmi all
```
diff --git a/docs/installation/docker-compose/index.md b/docs/installation/docker-compose/index.md
index 82905b87a..4bb5b91e1 100644
--- a/docs/installation/docker-compose/index.md
+++ b/docs/installation/docker-compose/index.md
@@ -170,7 +170,14 @@ After setting up your DNS, you have to configure AliasVault to let it know which
# ...
```
-After updating the docker-compose.yml file, issue a `docker compose restart`. Afterwards, when you login to the AliasVault web app, you should now be able to create an alias with your domain and be able to receive email on it.
+After updating the docker-compose.yml file, restart the Docker Compose stack:
+```bash
+# To apply new environment variables, containers must be recreated.
+docker compose down
+docker compose up -d
+```
+
+Afterwards, when you login to the AliasVault web app, you should now be able to create an alias with your configured private domain and be able to receive email on it.
{: .note }
Important: DNS propagation can take up to 24-48 hours. During this time, email delivery might be inconsistent.
diff --git a/docs/installation/index.md b/docs/installation/index.md
index 2254105eb..8393b5307 100644
--- a/docs/installation/index.md
+++ b/docs/installation/index.md
@@ -20,7 +20,7 @@ AliasVault can be self-hosted on your own servers using two different installati
| **Setup style** | Managed, opinionated, production-ready defaults | Fits into existing homelab/stack tools (Portainer compatible) |
| **Build from source** | Optional (supported) | Pre-built container only |
| **Choose if…** | You want auto SSL and a managed stack | You already have TLS and prefer manual control |
-| | [**Self-host via Install Script β†’**](./script){: .btn .btn-primary } (Recommended) | [**Self-host via Docker Compose β†’**](./docker-compose){: .btn .btn-primary } |
+| | [**Self-host via Install Script β†’**](./script){: .btn .btn-primary } | [**Self-host via Docker β†’**](./docker-compose){: .btn .btn-primary } |
---
diff --git a/docs/installation/script/advanced/build-from-source.md b/docs/installation/script/advanced/build-from-source.md
index 8c6112cc5..10ec0111e 100644
--- a/docs/installation/script/advanced/build-from-source.md
+++ b/docs/installation/script/advanced/build-from-source.md
@@ -19,13 +19,13 @@ Building from source requires more resources:
## Steps
1. Clone the repository
```bash
-git clone https://github.com/aliasvault/aliasvault.git
-cd aliasvault
+$ git clone https://github.com/aliasvault/aliasvault.git
+$ cd aliasvault
```
2. Make the build script executable and run it. This will create the .env file, build the Docker images locally from source, and start the AliasVault containers. Follow the on-screen prompts to configure AliasVault.
```bash
-chmod +x install.sh
-./install.sh build
+$ chmod +x install.sh
+$ ./install.sh build
```
> **Note:** The complete build process can take a while depending on your hardware (5-15 minutes).
diff --git a/docs/installation/script/advanced/lifecycle.md b/docs/installation/script/advanced/lifecycle.md
index 7407b9caa..d91fa07c4 100644
--- a/docs/installation/script/advanced/lifecycle.md
+++ b/docs/installation/script/advanced/lifecycle.md
@@ -13,19 +13,19 @@ You can stop and start AliasVault easily by using the install script.
To stop AliasVault, run the install script with the `stop` option. This will stop all running AliasVault containers.
```bash
-./install.sh stop
+$ ./install.sh stop
```
## Start
To start AliasVault, run the install script with the `start` option. This will start all AliasVault containers.
```bash
-./install.sh start
+$ ./install.sh start
```
## Restart
To restart AliasVault, run the install script with the `restart` option. This will restart all AliasVault containers.
```bash
-./install.sh restart
+$ ./install.sh restart
```
diff --git a/docs/installation/script/advanced/uninstall.md b/docs/installation/script/advanced/uninstall.md
index 53aefa50f..65dc8c6a6 100644
--- a/docs/installation/script/advanced/uninstall.md
+++ b/docs/installation/script/advanced/uninstall.md
@@ -16,5 +16,5 @@ This will not delete any data stored in the database. If you wish to delete all
### Steps
1. Run the install script with the `uninstall` option
```bash
-./install.sh uninstall
+$ ./install.sh uninstall
```