-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #19: Update Index configuration
fe02253 fix: [#6] update index configuration (Jose Celano) Pull request description: To follow breaking changes in the Index config TOML files and env var names. ACKs for top commit: josecelano: ACK fe02253 Tree-SHA512: 7254dc1ff0627dd7e0b730128555fcdbbdecbdc2e1a6d4c5c90a994868edfdac0ff97d53b28fbef41fd145489b753c0d7b6bf8016c6950d9e35afdc947b9771b
- Loading branch information
Showing
7 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# App build variables | ||
## App build variables | ||
API_BASE_URL=http://localhost:3001/v1 | ||
|
||
# Rust SQLx | ||
## Rust SQLx | ||
DATABASE_URL=sqlite://storage/database/data.db?mode=rwc | ||
|
||
# Docker compose | ||
## Docker compose | ||
USER_ID=1000 | ||
|
||
### Index | ||
TORRUST_INDEX_CONFIG_TOML= | ||
TORRUST_INDEX_USER_UID=1000 | ||
TORRUST_INDEX_API_CORS_PERMISSIVE=true | ||
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY='MaxVerstappenWC2021' | ||
TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken' | ||
|
||
### Tracker | ||
TORRUST_TRACKER_CONFIG_TOML= | ||
TORRUST_TRACKER_USER_UID=1000 | ||
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=MyAccessToken |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 3 additions & 9 deletions
12
droplet/share/container/default/config/index.prod.container.sqlite3.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
# Please override the tracker token: | ||
# `TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN` | ||
# And the auth screte key: | ||
# `TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY` | ||
# environmental variables! | ||
|
||
[tracker] | ||
url = "udp://tracker.torrust-demo.com:6969" | ||
api_url = "http://tracker:1212" | ||
url = "udp://tracker.torrust-demo.com:6969" | ||
|
||
[database] | ||
connect_url = "sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc" | ||
|
||
[mail] | ||
server = "mailcatcher" | ||
[mail.smtp] | ||
port = 1025 | ||
server = "mailcatcher" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ stefanzweifel | |
torrust | ||
Torrust | ||
TORRUST | ||
TORRUST | ||
webroot | ||
Verstappen | ||
webroot |