30 lines
621 B
Django/Jinja
30 lines
621 B
Django/Jinja
# {{ ansible_managed }}
|
|
version: "3.8"
|
|
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
|