Fix: Restaurar casaos.yaml completo con volúmenes, restart y metadatos CasaOS + variables Redis (#11)
This commit is contained in:
93
casaos.yaml
93
casaos.yaml
@@ -42,4 +42,95 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- target: 8000
|
- target: 8000
|
||||||
published: "8091"
|
published: "8091"
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: /DATA/AppData/bots-translation/data
|
||||||
|
target: /app/data
|
||||||
|
- type: bind
|
||||||
|
source: /DATA/AppData/bots-translation/data/logs
|
||||||
|
target: /app/data/logs
|
||||||
|
x-casaos:
|
||||||
|
envs:
|
||||||
|
- container: DISCORD_TOKEN
|
||||||
|
description:
|
||||||
|
en_us: Token del bot de Discord
|
||||||
|
- container: TELEGRAM_TOKEN
|
||||||
|
description:
|
||||||
|
en_us: Token del bot de Telegram
|
||||||
|
- container: LIBRETRANSLATE_URL
|
||||||
|
description:
|
||||||
|
en_us: URL de LibreTranslate
|
||||||
|
- container: ADMIN_USERNAME
|
||||||
|
description:
|
||||||
|
en_us: Usuario admin del panel
|
||||||
|
- container: ADMIN_PASSWORD
|
||||||
|
description:
|
||||||
|
en_us: Contraseña admin del panel
|
||||||
|
- container: DB_TYPE
|
||||||
|
description:
|
||||||
|
en_us: Tipo de base de datos (sqlite/mysql)
|
||||||
|
- container: DB_HOST
|
||||||
|
description:
|
||||||
|
en_us: Host de MySQL
|
||||||
|
- container: DB_PORT
|
||||||
|
description:
|
||||||
|
en_us: Puerto de MySQL
|
||||||
|
- container: DB_USER
|
||||||
|
description:
|
||||||
|
en_us: Usuario de MySQL
|
||||||
|
- container: DB_PASSWORD
|
||||||
|
description:
|
||||||
|
en_us: Contraseña de MySQL
|
||||||
|
- container: DB_NAME
|
||||||
|
description:
|
||||||
|
en_us: Nombre de la base de datos MySQL
|
||||||
|
- container: DATABASE_PATH
|
||||||
|
description:
|
||||||
|
en_us: Ruta de la base de datos SQLite (si DB_TYPE=sqlite)
|
||||||
|
- container: REDIS_HOST
|
||||||
|
description:
|
||||||
|
en_us: IP del servidor Redis (OMV)
|
||||||
|
- container: REDIS_PORT
|
||||||
|
description:
|
||||||
|
en_us: Puerto de Redis
|
||||||
|
- container: REDIS_PASSWORD
|
||||||
|
description:
|
||||||
|
en_us: Contraseña de Redis
|
||||||
|
- container: REDIS_DB
|
||||||
|
description:
|
||||||
|
en_us: Número de base de datos Redis
|
||||||
|
ports:
|
||||||
|
- container: "8000"
|
||||||
|
description:
|
||||||
|
en_us: Puerto del panel web
|
||||||
|
volumes:
|
||||||
|
- container: /app/data
|
||||||
|
description:
|
||||||
|
en_us: Datos de los bots y base de datos
|
||||||
|
devices: []
|
||||||
|
cap_add: []
|
||||||
|
network_mode: bridge
|
||||||
|
privileged: false
|
||||||
|
x-casaos:
|
||||||
|
architectures:
|
||||||
|
- amd64
|
||||||
|
author: nickpons666
|
||||||
|
category: Utility
|
||||||
|
description:
|
||||||
|
en_us: Bots de traducción para Discord y Telegram con panel web
|
||||||
|
developer: nickpons666
|
||||||
|
hostname: ""
|
||||||
|
icon: https://www.ruthlessreviews.com/wp-content/uploads/2025/12/last-war-image.jpg
|
||||||
|
index: /
|
||||||
|
is_uncontrolled: false
|
||||||
|
main: bots-translation
|
||||||
|
port_map: "8091"
|
||||||
|
scheme: http
|
||||||
|
store_app_id: bots-translation
|
||||||
|
tagline:
|
||||||
|
en_us: Bots de Traducción
|
||||||
|
title:
|
||||||
|
custom: ""
|
||||||
|
en_us: Bots de Traducción
|
||||||
Reference in New Issue
Block a user