You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For applications which require services like Redis or Postgres, a standard file (probably .service) would be useful to recognize and automatically spin up those services for the app. This is especially useful as part of the deploy preview, which would be frustrating to use for now for apps which depend on those resources.
We can accomplish this with logic along the lines of:
# Check if service needs to be createdif [[ -f"$APPS_DIR/$APP/.service" ]];then
service_file="$APPS_DIR/$APP/.service"
create_svc=true
fiif [[ "$create_svc"=="true" ]];then
APP=$with_suffix METHOD="CREATESVC" SERVICEFILEPATH=$service_file python ./manage_apps.py
fi
in deploy.sh.
The text was updated successfully, but these errors were encountered:
For applications which require services like Redis or Postgres, a standard file (probably
.service
) would be useful to recognize and automatically spin up those services for the app. This is especially useful as part of the deploy preview, which would be frustrating to use for now for apps which depend on those resources.We can accomplish this with logic along the lines of:
in
manage_apps.py
and logic along the lines of:in
deploy.sh
.The text was updated successfully, but these errors were encountered: