29 lines
603 B
Django/Jinja
29 lines
603 B
Django/Jinja
# {{ 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 |