Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor: Update install.sh script to remove redirection of upgrade output to /dev/null

Andras Bacsaiba70451765f8
diff --git a/scripts/install.sh b/scripts/install.sh
index 7b1d0c2832..76a369e62a 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -424,7 +424,7 @@ echo -e " - It could take a while based on your server's performance, network sp
echo -e " - Please wait."
getAJoke
-bash /data/coolify/source/upgrade.sh "${LATEST_VERSION:-latest}" "${LATEST_HELPER_VERSION:-latest}" >/dev/null 2>&1
+bash /data/coolify/source/upgrade.sh "${LATEST_VERSION:-latest}" "${LATEST_HELPER_VERSION:-latest}"
echo " - Coolify installed successfully."
rm -f $ENV_FILE-$DATE
diff --git a/templates/compose/postiz.yaml b/templates/compose/postiz.yaml
index aba90103b8..8d199fde92 100644
--- a/templates/compose/postiz.yaml
+++ b/templates/compose/postiz.yaml
@@ -3,21 +3,30 @@
# slogan:
# tags:
# logo:
-# port: 5000
+# port: 4200
services:
postiz:
image: "ghcr.io/gitroomhq/postiz-app:latest"
environment:
- - SERVICE_FQDN_POSTIZ_5000
+ - SERVICE_FQDN_POSTIZ_4200
- MAIN_URL=${SERVICE_FQDN_POSTIZ}
- FRONTEND_URL=${SERVICE_FQDN_POSTIZ}
- - NEXT_PUBLIC_BACKEND_URL=${SERVICE_FQDN_POSTIZ_3000}
+ - NEXT_PUBLIC_BACKEND_URL=${SERVICE_FQDN_POSTIZAPI_3000}
- JWT_SECRET=${SERVICE_REALBASE64_JWTSECRET}
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-postiz}?schema=public
- REDIS_URL=redis://redis:6379
- - BACKEND_INTERNAL_URL=${SERVICE_FQDN_POSTIZ}
+ - BACKEND_INTERNAL_URL=http://localhost:3000/
- IS_GENERAL=true
+ - CLOUDFLARE_ACCOUNT_ID=${CLOUDFLARE_ACCOUNT_ID}
+ - CLOUDFLARE_ACCESS_KEY=${CLOUDFLARE_ACCESS_KEY}
+ - CLOUDFLARE_SECRET_ACCESS_KEY=${CLOUDFLARE_SECRET_ACCESS_KEY}
+ - CLOUDFLARE_BUCKETNAME=${CLOUDFLARE_BUCKETNAME}
+ - CLOUDFLARE_BUCKET_URL=${CLOUDFLARE_BUCKET_URL}
+ - CLOUDFLARE_REGION=${CLOUDFLARE_REGION}
+ - RESEND_API_KEY=${RESEND_API_KEY}
+ - EMAIL_FROM_ADDRESS=${EMAIL_FROM_ADDRESS}
+ - EMAIL_FROM_NAME=${EMAIL_FROM_NAME}
depends_on:
postgres:
condition: service_healthy