Update Servers/Containerization/Docker/Compose/Speedtest Tracker.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 8s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 8s
This commit is contained in:
@@ -19,9 +19,9 @@ services:
|
||||
- ASSET_URL=${PUBLIC_FQDN}
|
||||
- APP_TIMEZONE=${TIMEZONE}
|
||||
- DISPLAY_TIMEZONE=${TIMEZONE}
|
||||
- SPEEDTEST_SCHEDULE=*/15 * * * *
|
||||
- SPEEDTEST_SCHEDULE=*/15 * * * * # (1)
|
||||
- SPEEDTEST_SERVERS=5858
|
||||
- APP_KEY=${BASE64_APPKEY} # (1)
|
||||
- APP_KEY=${BASE64_APPKEY} # (2)
|
||||
- DB_CONNECTION=pgsql
|
||||
- DB_HOST=db
|
||||
- DB_PORT=5432
|
||||
@@ -63,7 +63,9 @@ networks:
|
||||
external: true
|
||||
```
|
||||
|
||||
1. You can generate a secure appkey with the following command: `echo -n 'base64:'; openssl rand -base64 32;` > Copy this key including the base64: prefix and paste it as your APP_KEY environment variable value.
|
||||
1. You can use [Crontab Guru](https://crontab.guru) to generate a cron expression to schedule automatic speedtests. e.g. `*/15 * * * *` runs a speedtest every 15 minutes.
|
||||
|
||||
2. You can generate a secure appkey with the following command: `echo -n 'base64:'; openssl rand -base64 32;` > Copy this key including the `base64:` prefix and paste it as your APP_KEY environment variable value.
|
||||
|
||||
```yaml title=".env"
|
||||
DB_PASSWORD=SecurePassword
|
||||
|
Reference in New Issue
Block a user