Remove Carbone service temporarily
This commit is contained in:
parent
bd3e22a504
commit
76fd8fd408
|
|
@ -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."
|
||||||
|
|
||||||
|
|
@ -27,15 +27,8 @@ services:
|
||||||
image: gotenberg/gotenberg:8
|
image: gotenberg/gotenberg:8
|
||||||
networks:
|
networks:
|
||||||
- alicante_net
|
- alicante_net
|
||||||
|
# Gotenberg es una API, no suele necesitar puerto expuesto si se usa internamente,
|
||||||
carbone:
|
# pero lo dejamos accesible por si acaso en el 3000 interno (o mapeado si quieres)
|
||||||
image: carbone/carbone
|
|
||||||
environment:
|
|
||||||
GOTENBERG_URL: "http://gotenberg:3000"
|
|
||||||
networks:
|
|
||||||
- alicante_net
|
|
||||||
ports:
|
|
||||||
- "4200:4200"
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
alicante_net:
|
alicante_net:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue