feature/interfaz-binarios (#19)
Some checks failed
Aduanasoft/PANEL_BASES_ANEXO24/pipeline/head There was a failure building this commit
Some checks failed
Aduanasoft/PANEL_BASES_ANEXO24/pipeline/head There was a failure building this commit
Reviewed-on: #19 Co-authored-by: hreyes <hreyes@aduanasoft.com.mx> Co-committed-by: hreyes <hreyes@aduanasoft.com.mx>
This commit is contained in:
@@ -41,10 +41,23 @@ services:
|
||||
# Clave Fernet compartida con a24c (debe coincidir con la SECRET_KEY de a24c)
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
|
||||
|
||||
# --- Distribución de versiones de CloudRestoreAS -----------------------
|
||||
# Gitea es la fuente de verdad de los binarios; el panel solo LEE (scope read:package).
|
||||
- GITEA_BASE_URL=${GITEA_BASE_URL:-https://git.aduanasoft.com}
|
||||
- GITEA_OWNER=${GITEA_OWNER:-ADUANASOFT}
|
||||
- GITEA_TOKEN=${GITEA_TOKEN:-}
|
||||
- CRAS_PACKAGE_NAME=${CRAS_PACKAGE_NAME:-cloudrestoreas}
|
||||
- CRAS_RELEASES_DIR=/data/cras-releases
|
||||
- CRAS_CACHE_KEEP_VERSIONS=${CRAS_CACHE_KEEP_VERSIONS:-3}
|
||||
# URL con la que el agente instalado reportará al panel; en dev apunta al host.
|
||||
- PANEL_PUBLIC_URL=${PANEL_PUBLIC_URL:-https://localhost:3000}
|
||||
volumes:
|
||||
# Map the actual backup folder from host to the container's backup path
|
||||
# Local dev: carpeta escribible del repo con respaldos sintéticos (read-only en el contenedor)
|
||||
- ./local-backups:/data/backups:ro
|
||||
# Caché de artefactos de CRAS (~270 MB cada uno). Escribible: el panel descarga aquí.
|
||||
- ./local-cras-releases:/data/cras-releases
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user