Remove Carbone service temporarily

This commit is contained in:
SysAdmin DCC 2025-12-01 10:51:12 +00:00
parent bd3e22a504
commit 76fd8fd408
2 changed files with 56 additions and 9 deletions

54
remove_carbone.sh Normal file
View File

@ -0,0 +1,54 @@
#!/bin/bash
cd /root/alicante-infra || cd /sc/alicante-infra
echo "🔧 Quitando Carbone del stack Docs..."
# Sobrescribimos el template Docs SIN Carbone, solo con Metabase, Bookstack y Gotenberg
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
# Gotenberg es una API, no suele necesitar puerto expuesto si se usa internamente,
# pero lo dejamos accesible por si acaso en el 3000 interno (o mapeado si quieres)
networks:
alicante_net:
external: true
EOF
echo "✅ Template corregido (Carbone eliminado)."
# Subir a Git
git add .
git commit -m "Remove Carbone service temporarily"
git push
echo "🚀 Listo. Dale al RUN en Semaphore."

View File

@ -27,15 +27,8 @@ services:
image: gotenberg/gotenberg:8
networks:
- alicante_net
carbone:
image: carbone/carbone
environment:
GOTENBERG_URL: "http://gotenberg:3000"
networks:
- alicante_net
ports:
- "4200:4200"
# Gotenberg es una API, no suele necesitar puerto expuesto si se usa internamente,
# pero lo dejamos accesible por si acaso en el 3000 interno (o mapeado si quieres)
networks:
alicante_net: