Files
traduccion_bots/casaos.yaml

45 lines
1.3 KiB
YAML

name: bots-translation
services:
bots-translation:
cpu_shares: 90
command: []
container_name: bots-translation
deploy:
resources:
limits:
memory: 512M
reservations:
devices: []
dns:
- 8.8.8.8
- 1.1.1.1
environment:
- ADMIN_PASSWORD=MiPo6425@@
- ADMIN_USERNAME=nickpons666
- DATABASE_PATH=/app/data/bots_config.db
- DB_HOST=10.10.4.17
- DB_NAME=traductor_bots
- DB_PASSWORD=MiPo6425@@
- DB_PORT=3390
- DB_TYPE=mysql
- DB_USER=nickpons666
- DISCORD_TOKEN=MTM4NTc5MDM0NDU5NDk4NTA2MQ.GvobiS.TRQM9dX7vDjmuGVa3Ckp6YRtGEWxdW0gBDbvCI
- LIBRETRANSLATE_URL=https://translate-pons.duckdns.org/translate
- TELEGRAM_TOKEN=8469229183:AAEVIV5e7rjDXKNgFTX0dnCW6JWB88X4p2I
- WEB_HOST=0.0.0.0
- WEB_PORT=8000
- PYTHONDONTWRITEBYTECODE=1
- PYTHONOPTIMIZE=1
- TZ=America/Mexico_City
- REDIS_HOST=10.10.4.17
- REDIS_PORT=6379
- REDIS_PASSWORD=translation_redis_secret
- REDIS_DB=0
hostname: bots-translation
image: registry-pons.duckdns.org/bots-translation:latest
labels:
icon: https://www.ruthlessreviews.com/wp-content/uploads/2025/12/last-war-image.jpg
ports:
- target: 8000
published: "8091"
protocol: tcp