Fix Carbone docker image name

This commit is contained in:
SysAdmin DCC 2025-12-01 10:30:27 +00:00
parent ffc39aae05
commit bd3e22a504
2 changed files with 62 additions and 1 deletions

61
fix_carbone.sh Normal file
View File

@ -0,0 +1,61 @@
#!/bin/bash
cd /root/alicante-infra || cd /sc/alicante-infra
echo "🔧 Corrigiendo imagen de Carbone..."
# Sobrescribimos el template de Docs con la imagen correcta (carbone/carbone)
cat > roles/core/templates/apps-docs-compose.j2 <<EOF
services:
metabase:
image: metabase/metabase:latest
environment:
MB_DB_TYPE: postgres
MB_DB_HOST: postgres-core
MB_DB_USER: postgres
MB_DB_PASS: {{ global_db_root_pass }}
MB_DB_DBNAME: metabase
networks:
- alicante_net
ports:
- "3001:3000"
bookstack:
image: lscr.io/linuxserver/bookstack:latest
environment:
DB_HOST: mariadb-core
DB_USER: root
DB_PASS: {{ global_db_root_pass }}
networks:
- alicante_net
ports:
- "6875:80"
gotenberg:
image: gotenberg/gotenberg:8
networks:
- alicante_net
carbone:
image: carbone/carbone
environment:
GOTENBERG_URL: "http://gotenberg:3000"
networks:
- alicante_net
ports:
- "4200:4200"
networks:
alicante_net:
external: true
EOF
echo "✅ Template corregido."
# Subir a Git
git add .
git commit -m "Fix Carbone docker image name"
git push
echo "🚀 Listo. Dale al RUN en Semaphore."

View File

@ -29,7 +29,7 @@ services:
- alicante_net
carbone:
image: carbone/carbone-sdk-rs
image: carbone/carbone
environment:
GOTENBERG_URL: "http://gotenberg:3000"
networks: