update
This commit is contained in:
parent
f4d8185ac8
commit
953a028030
|
@ -28,6 +28,8 @@ It's described in most details.
|
|||
|
||||
### 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,
|
||||
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-resolved`
|
||||
|
||||
* uncomment desidred locales in locale.gen</br>
|
||||
`vim /etc/locale.gen`</br>
|
||||
|
|
|
@ -111,16 +111,24 @@ Bitwarden_rs documentation has a
|
|||
|
||||
`Caddyfile`
|
||||
```
|
||||
passwd.{$MY_DOMAIN} {
|
||||
header / {
|
||||
X-XSS-Protection "1; mode=block"
|
||||
X-Frame-Options "DENY"
|
||||
X-Robots-Tag "none"
|
||||
-Server
|
||||
}
|
||||
bitwarden.{$MY_DOMAIN} {
|
||||
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
|
||||
|
||||
# Proxy the Root directory to Rocket
|
||||
reverse_proxy bitwarden:80
|
||||
}
|
||||
```
|
||||
|
|
|
@ -97,13 +97,13 @@ MYSQL_USER=bookstack
|
|||
MYSQL_PASSWORD=bookstack
|
||||
|
||||
# BOOKSTACK
|
||||
APP_URL=https://book.example.com
|
||||
DB_HOST=bookstack-db
|
||||
DB_USER=bookstack
|
||||
DB_PASS=bookstack
|
||||
DB_DATABASE=bookstack
|
||||
|
||||
# USING SENDGRID FOR SENDING EMAILS
|
||||
APP_URL=https://book.example.com
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_HOST=smtp.sendgrid.net
|
||||
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/).
|
||||
|
||||
*extra info:*</br>
|
||||
To know which ports containers have exposed - `docker ps`, or `docker inspect`,
|
||||
or use [ctop](https://github.com/bcicen/ctop).
|
||||
To know which ports containers have exposed - `docker ps`, or
|
||||
`docker port <container-name>`, or use [ctop](https://github.com/bcicen/ctop).
|
||||
|
||||
`whoami-compose.yml`
|
||||
```yaml
|
||||
|
|
|
@ -59,9 +59,7 @@ services:
|
|||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
|
||||
# WATCHTOWER
|
||||
WATCHTOWER_SCHEDULE=0 0 0 * * SAT
|
||||
|
|
Loading…
Reference in New Issue