pull/35/head
DoTheEvolution 4 years ago
parent f4d8185ac8
commit 953a028030

@ -28,6 +28,8 @@ It's described in most details.
### Compose and environment variables ### Compose and environment variables
When making changes use `docker-compose down`, not just restart or stop.
You **do not** need to fuck with `docker-compose.yml` to get something up, You **do not** need to fuck with `docker-compose.yml` to get something up,
simple copy paste should suffice. simple copy paste should suffice.

@ -96,7 +96,6 @@ So if theres boot menu option choose non-uefi.
``` ```
`systemctl enable --now systemd-networkd`</br> `systemctl enable --now systemd-networkd`</br>
`systemctl enable --now systemd-resolved`
* uncomment desidred locales in locale.gen</br> * uncomment desidred locales in locale.gen</br>
`vim /etc/locale.gen`</br> `vim /etc/locale.gen`</br>

@ -111,16 +111,24 @@ Bitwarden_rs documentation has a
`Caddyfile` `Caddyfile`
``` ```
passwd.{$MY_DOMAIN} { bitwarden.{$MY_DOMAIN} {
header / {
X-XSS-Protection "1; mode=block"
X-Frame-Options "DENY"
X-Robots-Tag "none"
-Server
}
encode gzip encode gzip
reverse_proxy /notifications/hub/negotiate bitwarden:80
header {
# Enable cross-site filter (XSS) and tell browser to block detected attacks
X-XSS-Protection "1; mode=block"
# Disallow the site to be rendered within a frame (clickjacking protection)
X-Frame-Options "DENY"
# Prevent search engines from indexing (optional)
X-Robots-Tag "none"
# Server name removing
-Server
}
# Notifications redirected to the websockets server
reverse_proxy /notifications/hub bitwarden:3012 reverse_proxy /notifications/hub bitwarden:3012
# Proxy the Root directory to Rocket
reverse_proxy bitwarden:80 reverse_proxy bitwarden:80
} }
``` ```

@ -97,13 +97,13 @@ MYSQL_USER=bookstack
MYSQL_PASSWORD=bookstack MYSQL_PASSWORD=bookstack
# BOOKSTACK # BOOKSTACK
APP_URL=https://book.example.com
DB_HOST=bookstack-db DB_HOST=bookstack-db
DB_USER=bookstack DB_USER=bookstack
DB_PASS=bookstack DB_PASS=bookstack
DB_DATABASE=bookstack DB_DATABASE=bookstack
# USING SENDGRID FOR SENDING EMAILS # USING SENDGRID FOR SENDING EMAILS
APP_URL=https://book.example.com
MAIL_DRIVER=smtp MAIL_DRIVER=smtp
MAIL_HOST=smtp.sendgrid.net MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=465 MAIL_PORT=465

@ -198,8 +198,8 @@ Exposed ports are just documentation,
[don't confuse expose and publish](https://maximorlov.com/exposing-a-port-in-docker-what-does-it-do/). [don't confuse expose and publish](https://maximorlov.com/exposing-a-port-in-docker-what-does-it-do/).
*extra info:*</br> *extra info:*</br>
To know which ports containers have exposed - `docker ps`, or `docker inspect`, To know which ports containers have exposed - `docker ps`, or
or use [ctop](https://github.com/bcicen/ctop). `docker port <container-name>`, or use [ctop](https://github.com/bcicen/ctop).
`whoami-compose.yml` `whoami-compose.yml`
```yaml ```yaml

@ -59,9 +59,7 @@ services:
`.env` `.env`
```bash ```bash
# GENERAL # GENERAL
MY_DOMAIN=example.com
DEFAULT_NETWORK=caddy_net DEFAULT_NETWORK=caddy_net
TZ=Europe/Bratislava
# WATCHTOWER # WATCHTOWER
WATCHTOWER_SCHEDULE=0 0 0 * * SAT WATCHTOWER_SCHEDULE=0 0 0 * * SAT

Loading…
Cancel
Save