0
0
opnxng-deploy-playbook/templates/compose/simplytranslate.yaml.j2

28 lines
605 B
Django/Jinja

# {{ ansible_managed }}
services:
simplytranslate:
image: git.opnxng.com/opnxng/simplytranslate:latest
container_name: simplytranslate
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- ADDRESS=0.0.0.0:5000
- GOOGLETRANSLATE_ENABLE=true
- ICIBA_ENABLE=true
- REVERSO_ENABLE=true
ports:
- 8889:5000
restart: unless-stopped
networks:
- simplytranslate
networks:
simplytranslate:
name: simplytranslate