diff --git a/bookstack/readme.md b/bookstack/readme.md index 3aa2ea8..afb8450 100644 --- a/bookstack/readme.md +++ b/bookstack/readme.md @@ -59,6 +59,8 @@ services: env_file: .env volumes: - ./bookstack_db_data:/config + expose: + - 3306:3306 bookstack: image: linuxserver/bookstack @@ -116,7 +118,7 @@ MAIL_PASSWORD= Which is named in the `.env` file.
If one does not exist yet: `docker network create caddy_net` -`APP_URL` in the `.env` must be set for bookstack to work.
+`APP_URL` in the `.env` **must be set** for bookstack to work.
`MAIL_` stuff must be set for password reset and new registrations. # Reverse proxy @@ -160,11 +162,14 @@ Manual image update: - `docker-compose up -d`
- `docker image prune` -* if there was a major version jump, and bookstack does not work, - exec in to the app container and run `php artisan migrate`
- `docker container exec -it bookstack /bin/bash`
- `cd /app/www`
- `php artisan migrate` +It is **strongly recommended** to now add current **tags** to the images in the compose.
+Tags will allow you to easily return to a working state if an update goes wrong. + +If there was a **major version jump**, and bookstack does not work, +exec in to the app container and run php artisan migrate
+`docker container exec -it bookstack /bin/bash`
+`cd /app/www`
+`php artisan migrate` # Backup and restore @@ -176,9 +181,9 @@ to make daily snapshot of the entire docker directory. #### Restore -* down the bookstack containers `docker-compose down`
-* delete the entire bookstack directory
-* from the backup copy back the bookstack directory
+* down the containers `docker-compose down`
+* delete/move/rename the entire project directory
+* from the backups copy back the entire project directory
* start the containers `docker-compose up -d` # Backup of just user data