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

29 lines
603 B
Plaintext
Raw Normal View History

2023-11-06 10:39:27 +08:00
# {{ ansible_managed }}
version: "3.6"
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:
- IPv4
networks:
IPv4:
external:
name: IPv4