Here is a Self Hosted Cloud Translation API you can replicate by just using Docker and a minimum 2 cores machine.
name: libre-translate
services:
libretranslate:
tty: true
stdin_open: true
ports: '5001:5000'
environment:
- LT_SSL: 'true'
image: libretranslate/libretranslate