Import paratranz translation data to elasticsearch single cluster.
See discordbot for details.
The task is performed by github-actions every 3 hours.
Index | Project Code and link | Project Credit | Search Prefix | owner |
---|---|---|---|---|
1 | 76 | EU4_JPM_PROJECT | eu4 | gnagaoka |
2 | 91 | CK2_JPM_PROJECT | ck2 | gnagaoka |
3 | 335 | Imperator: Rome 日本語化Mod製作プロジェクト | ir | clamm |
4 | 350 | Imperator: Rome 日本語化Mod製作プロジェクト | ir | clamm |
5 | 2063 | Hearts of Iron IV Japanese Language mod | hoi4 | Inarizushi |
6 | 500 | +JP: Kaiserreich | kr | Inarizushi |
7 | 1518 | CK3_JPM_PROJECT | ck3 | gnagaoka |
8 | 2543 | VIC2_JPM_PROJECT | vic2 | gnagaoka |
9 | 5456 | Victoria3 Japanese Advanced Mod Project | vic3 | gnagaoka |
This script receives the secret in the environment variable.The port number (9200) and user name (elastic) cannot be changed.
Enviroinment Name | description | example |
---|---|---|
PARATRANZ_SECRET | paratranz API key | 6966dfca20cb0fb18a255ad45a125bb9 |
ELASTICSEARCH_HOST | elasticsearch cluster host | localhost |
ELASTICSEARCH_PASSWORD | elasticsearch cluster password | hogehoge |
━━━━━━━━━━━━━━━━━━━━
☢ CAUTION!! ☢
━━━━━━━━━━━━━━━━━━━━
The cluster will not work unless you change the configuration.
❯ wsl --shutdown # because we don't really need to restart the computer to see the config is lost ...
⚡ beccari@RAYGUN ~ [00:28]
❯ wsl -d docker-desktop cat /proc/sys/vm/max_map_count # current value
65530
⚡ beccari@RAYGUN ~ [00:28]
❯ wsl -d docker-desktop sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144
⚡ beccari@RAYGUN ~ [00:28]
❯ wsl -d docker-desktop cat /proc/sys/vm/max_map_count
262144