Skip to content

Commit c461a1c

Browse files
committed
Merge #29: Update tracker and index config
4701c58 fix: [#28] update tracker and index config (Jose Celano) Pull request description: Update tracker and index config. ACKs for top commit: josecelano: ACK 4701c58 Tree-SHA512: 282f6c6c6e9402d0eecfa4cf39f2c08fe112934764e1beef2907882179206d9ca79b8129378952bd319c45cecefb73ed2f8c747c38d225fe7775a7006f8b60ea
2 parents 3c7a084 + 4701c58 commit c461a1c

10 files changed

+28
-10
lines changed

demo/compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
- TORRUST_INDEX_DATABASE=${TORRUST_INDEX_DATABASE:-e2e_testing_sqlite3}
3030
- TORRUST_INDEX_DATABASE_DRIVER=${TORRUST_INDEX_DATABASE_DRIVER:-sqlite3}
3131
- TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=${TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN:-MyAccessToken}
32-
- TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY:-MaxVerstappenWC2021}
32+
- TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER:-MaxVerstappenWC2021}
3333
- TORRUST_INDEX_API_CORS_PERMISSIVE=${TORRUST_INDEX_API_CORS_PERMISSIVE:-true}
3434
- CARGO_HOME=/home/appuser/.cargo
3535
networks:

demo/config-index.local.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-index"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

demo/config-tracker.local.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-tracker"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

demo/dot.env.local

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ USER_ID=1000
1010
### Index
1111
TORRUST_INDEX_CONFIG_TOML=
1212
TORRUST_INDEX_API_CORS_PERMISSIVE=true
13-
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY='MaxVerstappenWC2021'
13+
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER='MaxVerstappenWC2021'
1414
TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken'
1515

1616
### Tracker

demo/storage/index/etc/index.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-index"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

demo/storage/tracker/etc/tracker.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-tracker"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

droplet/.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ NITRO_PORT=3000
88
# Index
99
TORRUST_INDEX_CONFIG_TOML=
1010
TORRUST_INDEX_API_CORS_PERMISSIVE=false
11-
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY='MaxVerstappenWC2021'
11+
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER='MaxVerstappenWC2021'
1212
TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken'
1313

1414
# Tracker

droplet/compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ services:
7474
- TORRUST_INDEX_DATABASE=${TORRUST_INDEX_DATABASE:-sqlite3}
7575
- TORRUST_INDEX_DATABASE_DRIVER=${TORRUST_INDEX_DATABASE_DRIVER:-sqlite3}
7676
- TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=${TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN:-MyAccessToken}
77-
- TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY:-MaxVerstappenWC2021}
77+
- TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__USER_CLAIM_TOKEN_PEPPER:-MaxVerstappenWC2021}
7878
- TORRUST_INDEX_API_CORS_PERMISSIVE=${TORRUST_INDEX_API_CORS_PERMISSIVE:-true}
7979
networks:
8080
- backend_network

droplet/share/container/default/config/index.prod.container.sqlite3.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-index"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

droplet/share/container/default/config/tracker.prod.container.sqlite3.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version = "2"
1+
[metadata]
2+
app = "torrust-tracker"
3+
purpose = "configuration"
4+
schema_version = "2.0.0"
25

36
[logging]
47
#threshold = "off"

0 commit comments

Comments
 (0)