Synced
This commit is contained in:
parent
8289ebf4ca
commit
0cbbdb7716
4 changed files with 6 additions and 2 deletions
|
|
@ -23,6 +23,8 @@ services:
|
|||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
## Uncomment this for logging in docker compose logs
|
||||
# tty: true
|
||||
# './venv/bin/python is not implemented in the cuda docker yet
|
||||
# healthcheck:
|
||||
# test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ services:
|
|||
timeout: 4s
|
||||
retries: 4
|
||||
start_period: 5s
|
||||
## Uncomment this for logging in docker compose logs
|
||||
# tty: true
|
||||
## Uncomment above command and define your args if necessary
|
||||
# command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
|
||||
## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ def manage():
|
|||
)
|
||||
|
||||
keys_remove_parser = keys_subparser.add_parser(
|
||||
"remove", help="Remove API keys to database"
|
||||
"remove", help="Remove API keys from database"
|
||||
)
|
||||
keys_remove_parser.add_argument("key", type=str, help="API Key")
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
{% if get_api_key_link %}
|
||||
<li><a href="{{ get_api_key_link }}">{{ _h("Get API Key") }}</a></li>
|
||||
{% endif %}
|
||||
<li><a href="https://github.com/LibreTranslate/LibreTranslate" rel="noopener noreferrer">{{ _h("GitHub") }}</a></li>
|
||||
<li><a href="https://github.com/LibreTranslate/LibreTranslate" target="_blank" rel="noopener noreferrer">{{ _h("GitHub") }}</a></li>
|
||||
{% if api_keys %}
|
||||
<li><a class="noline" href="javascript:setApiKey()" title="{{ _h('Set API Key') }}" aria-label="{{ _h('Set API Key') }}"><i class="material-icons">vpn_key</i></a></li>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue