Browse Source

updated with examples

toastie89 7 months ago
parent
commit
6e0b193a9b
1 changed files with 6 additions and 2 deletions
  1. 6 2
      README.md

+ 6 - 2
README.md

@@ -2,8 +2,12 @@
 
 
 1. Populate database PRIOR to first startup:
-Run `./initdb.sh` to create the database in postgres and update your guacadmin password from .env
-
+Populate .env from template, set the guacadmin *password*, *hostname* and *populate database*:
+```
+docker compose pull
+cp .env.template .env && sed -i -e "s/ReplaceWithYourSecretPassword/`pwgen  -B 20 1`/" .env
+./initdb.sh && docker compose up -d
+```
 
 2. Browse http://localhost:8080/guacamole/
    and login with login `guacadmin` and password set in .env