add simplytranslate; make the PF playbook mostly tagged; make caddy reload not restart
This commit is contained in:
9
privfrontends/compose/simplytranslate/compose.yml.j2
Normal file
9
privfrontends/compose/simplytranslate/compose.yml.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
version: "3"
|
||||
services:
|
||||
simplytranslate:
|
||||
image: quay.io/pussthecatorg/simplytranslate:latest
|
||||
ports:
|
||||
- "127.0.0.1:5046:5000" # Replace with "5000:5000" if you don't use a reverse proxy
|
||||
volumes:
|
||||
- "./extras.conf:/etc/simplytranslate/web.conf"
|
||||
|
23
privfrontends/compose/simplytranslate/extras.conf.j2
Normal file
23
privfrontends/compose/simplytranslate/extras.conf.j2
Normal file
@@ -0,0 +1,23 @@
|
||||
[libre]
|
||||
Enabled = False
|
||||
Instance = https://libretranslate.com
|
||||
|
||||
[google]
|
||||
Enabled = True
|
||||
|
||||
[deepl]
|
||||
# Deepl Translate does not support async as of right now, it will block all other requests
|
||||
# while it's processing a Deepl Requests, please enable this with caution!
|
||||
Enabled = True
|
||||
|
||||
[iciba]
|
||||
# ICIBA Translate (a.k.a. PowerWord) is disabled by default.
|
||||
Enabled = True
|
||||
|
||||
[reverso]
|
||||
Enabled = True
|
||||
|
||||
[network]
|
||||
port = 5000
|
||||
host = 0.0.0.0
|
||||
|
Reference in New Issue
Block a user