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
|
2023-12-26 04:08:13 +08:00
|
|
|
restart: unless-stopped
|
2023-11-06 10:39:27 +08:00
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
- simplytranslate
|
|
|
|
|
2023-11-06 10:39:27 +08:00
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
simplytranslate:
|
2023-12-26 04:08:13 +08:00
|
|
|
name: simplytranslate
|