migrate: libretranslate, shlink

This commit is contained in:
Strix 2023-10-22 16:57:54 +02:00
parent 48c6a57623
commit 047f1745f0
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
5 changed files with 63 additions and 0 deletions

View file

@ -1 +1,2 @@
server configuration for `kid`.
mostly houses *non-essential* services.

View file

@ -0,0 +1,9 @@
server {
listen 80;
server_name translate.ixvd.net;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://libretranslate:5000;
}
}

View file

@ -0,0 +1,10 @@
version: '2.2'
services:
libretranslate:
image: libretranslate/libretranslate
restart: always
volumes:
- /srv/libretranslate/data:/home/libretranslate/.local/share
- /srv/libretranslate/other/cache:/home/libretranslate/.local/share
networks:
- proxy