Fix Dolibarr docker image name
This commit is contained in:
parent
ebe8b8ae52
commit
ffc39aae05
|
|
@ -0,0 +1,57 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /root/alicante-infra || cd /sc/alicante-infra
|
||||
|
||||
echo "🔧 Corrigiendo imagen de Dolibarr..."
|
||||
|
||||
# Sobrescribimos el template de Business Apps con la imagen correcta (upshift/dolibarr)
|
||||
cat > roles/core/templates/apps-business-compose.j2 <<EOF
|
||||
services:
|
||||
dolibarr:
|
||||
image: upshift/dolibarr:latest
|
||||
environment:
|
||||
DOLI_DB_HOST: postgres-core
|
||||
DOLI_DB_PASSWORD: {{ global_db_root_pass }}
|
||||
DOLI_ADMIN_LOGIN: admin
|
||||
DOLI_DB_TYPE: pgsql
|
||||
networks:
|
||||
- alicante_net
|
||||
ports:
|
||||
- "8080:80"
|
||||
|
||||
teable:
|
||||
image: teableio/teable:latest
|
||||
environment:
|
||||
PRISMA_DATABASE_URL: "postgresql://postgres:{{ global_db_root_pass }}@postgres-core:5432/teable"
|
||||
REDIS_URL: "redis://:{{ global_redis_pass }}@redis-core:6379/0"
|
||||
networks:
|
||||
- alicante_net
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
activepieces:
|
||||
image: activepieces/activepieces:latest
|
||||
environment:
|
||||
AP_POSTGRES_HOST: postgres-core
|
||||
AP_POSTGRES_PASSWORD: {{ global_db_root_pass }}
|
||||
AP_REDIS_HOST: redis-core
|
||||
AP_REDIS_PASSWORD: {{ global_redis_pass }}
|
||||
networks:
|
||||
- alicante_net
|
||||
ports:
|
||||
- "8081:80"
|
||||
|
||||
networks:
|
||||
alicante_net:
|
||||
external: true
|
||||
EOF
|
||||
|
||||
echo "✅ Template corregido."
|
||||
|
||||
# Subir a Git
|
||||
git add .
|
||||
git commit -m "Fix Dolibarr docker image name"
|
||||
git push
|
||||
|
||||
echo "🚀 Listo. Dale al RUN en Semaphore."
|
||||
|
||||
|
|
@ -1,10 +1,11 @@
|
|||
services:
|
||||
dolibarr:
|
||||
image: tuxg/dolibarr:latest
|
||||
image: upshift/dolibarr:latest
|
||||
environment:
|
||||
DOLI_DB_HOST: postgres-core
|
||||
DOLI_DB_PASSWORD: {{ global_db_root_pass }}
|
||||
DOLI_ADMIN_LOGIN: admin
|
||||
DOLI_DB_TYPE: pgsql
|
||||
networks:
|
||||
- alicante_net
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in New Issue