FAQ: General Questions
Are Squash URLs accessible to users outside my organization?
By default yes, and you can also change this to restrict their visibility only to your organization members.
How can I manage development databases (pre-seeded dbs)?
Does Squash manipulate the HTTP requests of my application in any way?
Squash does not aim to manipulate your application responses in order to avoid any different behavior you would experience compared to a production environment. That being said, there are a few exceptions listed below that won’t affect your application functionality.
- Squash HTTP headers. We add a few addition headers that can be useful in some scenarios where you might want to detect from your application if the environment where it’s deployed is actually Squash.
Are there any restrictions on deployment time?
By default deployments will automatically shut down after 3 hours of inactivity. However, you can adjust these settings in your account to fit your needs.
What time zone is used within the Squash Dashboard?
The creation date of active deployments and expire dates in the historical page are in Mountain Time. We plan to add custom timezone support soon.
What time zone is used by default within the Squash host VMs?
Host VMs are by default on UTC timezone.
Is it possible to set a specific timezone in my deployments?
Yes you can do this from inside the containers running your applications. If you are using Docker, here is a Dockerfile sample:
ENV TZ=America/Los_Angeles RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Note: if you are using an alpine based image you have to install the
What YAML Version Can I Use in the .squash.yml file?
YAML 1.1 and prior versions.
Do I lose my data after a deployment is shut down?
By default the storage on Squash deployments is destroyed when a deployment is decommissioned. However, you can enable the persistent storage feature to keep your data intact between runs.
502 Bad Gateway right after my deployment build is finished
There are many reasons on why you might encounter this error. The most common cause is a web server starting sooner than the application itself. For instance, you might be using Nginx as a web server in front of a Django or Flask application running with Gunicorn. When you start your docker containers Nginx might start up before the Gunicorn process. Squash will start sending requests to the Docker container and will receive a 502 response, since Nginx can’t communicate with the Gunicorn app just yet.
It will usually take from a few seconds to a few minutes for the Gunicorn process to finish starting up. Squash in this case will automatically detect the successful response and will properly start routing the requests to the Docker container’s application.
You can use the backend_wait setting to avoid this issue. This will tell Squash to wait a bit more for internal application services to be completed ready.
504 Gateway timeout
You will encounter this error when the application takes too long to return a successful HTTP response. You can increase the time Squash waits for a success response by using the ready_wait setting in the
Why should I trust Squash with my code?
Squash only accesses your code when you run your deployment. Once you terminate your deployment all your code is automatically destroyed. You will find more details in our security policy page.
What if I am building open-source?
I use Windows do you support these?
At the moment, Squash only supports Linux, but we will be supporting Windows in the very near future. Click here to be notified when we add this support.