Some changes
This commit is contained in:
parent
ffafe68067
commit
c0437d2444
2 changed files with 4 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
1. Replace IP addressses in `docker-compose.yml` and `reset.sh`
|
1. Replace IP addressses in `docker-compose.yml` and `reset.sh`
|
||||||
2. Make sure `reset.sh` works
|
2. Make sure `reset.sh` works
|
||||||
|
3. Set companion secret key in `config.toml`
|
||||||
3. In `nginx`:
|
3. In `nginx`:
|
||||||
- `openssl dhparam -out dhparam.pem 3072` (takes up to a few minutes, you can do the two below steps in the meantime)
|
- `openssl dhparam -out dhparam.pem 3072` (takes up to a few minutes, you can do the two below steps in the meantime)
|
||||||
- `openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key` (keep pressing Enter)
|
- `openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key` (keep pressing Enter)
|
||||||
|
|
@ -11,4 +12,4 @@
|
||||||
|
|
||||||
**TODOs**:
|
**TODOs**:
|
||||||
- automate all above
|
- automate all above
|
||||||
- `reset.sh` only when companion already up
|
- `reset.sh` only when companion up
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,11 @@
|
||||||
# See https://toml.io/en/ for details on the configuration format.
|
# See https://toml.io/en/ for details on the configuration format.
|
||||||
#####
|
#####
|
||||||
|
|
||||||
# [server]
|
[server]
|
||||||
# port = 8282 # env variable: PORT
|
# port = 8282 # env variable: PORT
|
||||||
# host = "127.0.0.1" # env variable: HOST
|
# host = "127.0.0.1" # env variable: HOST
|
||||||
# # secret key needs to be 16 characters long or more
|
# # secret key needs to be 16 characters long or more
|
||||||
# secret_key = "CHANGE_ME" # env variable: SERVER_SECRET_KEY
|
secret_key = "CHANGE_ME" # env variable: SERVER_SECRET_KEY
|
||||||
# verify_requests = false
|
# verify_requests = false
|
||||||
|
|
||||||
# [cache]
|
# [cache]
|
||||||
|
|
|
||||||
Reference in a new issue