diff --git a/droplet/.env.production b/droplet/.env.production index 99613d4..603ff38 100644 --- a/droplet/.env.production +++ b/droplet/.env.production @@ -2,14 +2,14 @@ USER_ID=1000 # Index GUI TORRUST_INDEX_GUI_API_BASE_URL='https://index.torrust-demo.com/api/v1' -NITRO_HOST="0.0.0.0" +NITRO_HOST=0.0.0.0 NITRO_PORT=3000 # Index TORRUST_INDEX_CONFIG_TOML= -TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken' -TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY='MyAccessToken' TORRUST_INDEX_API_CORS_PERMISSIVE=false +TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY='MaxVerstappenWC2021' +TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN='MyAccessToken' # Tracker TORRUST_TRACKER_CONFIG_TOML= diff --git a/droplet/compose.yaml b/droplet/compose.yaml index 5f6dc06..61a9ad3 100644 --- a/droplet/compose.yaml +++ b/droplet/compose.yaml @@ -74,6 +74,7 @@ services: - TORRUST_INDEX_DATABASE=${TORRUST_INDEX_DATABASE:-sqlite3} - TORRUST_INDEX_DATABASE_DRIVER=${TORRUST_INDEX_DATABASE_DRIVER:-sqlite3} - TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=${TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN:-MyAccessToken} + - TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY=${TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY:-MaxVerstappenWC2021} - TORRUST_INDEX_API_CORS_PERMISSIVE=${TORRUST_INDEX_API_CORS_PERMISSIVE:-true} networks: - backend_network diff --git a/droplet/share/container/default/config/index.prod.container.sqlite3.toml b/droplet/share/container/default/config/index.prod.container.sqlite3.toml index 4d9b53d..608bd05 100644 --- a/droplet/share/container/default/config/index.prod.container.sqlite3.toml +++ b/droplet/share/container/default/config/index.prod.container.sqlite3.toml @@ -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"