FAQ

Sample YAML file configurations

Avatar

squashlabs, December 2, 2019

Docker & Docker Compose configurations Basic example Here you have a web app defined in a Dockerfile, this web app has an HTTP service running on port 3000. deployments: MyApp: filename: ./src/Dockerfile context_path: ./src port_forwarding: # Squash by default expects an HTTP service running on port 80. # For this example the HTTP service is

Read more

Multi-repository applications

Avatar

squashlabs, December 2, 2019

Squash supports applications made of several microservices defined within separate repositories. There are currently three ways to get such apps running in Squash: Using the deployment dependencies feature. Squash creates a unique VM for each independent repository and attach them all together through environment variables. This requires very little setup. You may also share one

Read more

Kubernetes Specific YAML fields

Avatar

squashlabs, August 10, 2019

Back to the Squash YAML file page. Supported YAML fields The YAML fields below are supported on Kubernetes based deployments only. deployment_type This controls the deployment type: Docker or Kubernetes Mandatory field: Yes for Kubernetes. You need to set this value as “kubernetes” Data Type: Choices: kubernetes, docker Default value: docker For this example we

Read more

Please note that the steps below are only required for private repositories.  By default Squash uses OAuth access tokens from the hosted Version Control System provider (GitHub, Bitbucket or GitLab) in order to fetch a branch’s code during a Squash deployment. We do this in order to keep the amount of permissions on each provider

Read more

Pre-seeded databases (dev dbs)

Avatar

squashlabs, April 23, 2019

Squash makes it very easy to seed development databases. You can use your own sanitized data set or even clone production dumps (although in some cases this might not be recommend, see below). The way it works is based on importing a development db dump from any SQL or non-SQL database engines (MySQL, PostgreSQL, MongoDB,

Read more

Missing branch of code

Avatar

squashlabs, April 22, 2019

I can’t find a branch of code before a new deployment Sometimes Squash might not properly receive notifications from one of the VCS providers (GitHub/GitLab/Bitbucket) regarding new branches. Even when that happens Squash periodically checks the list of branches on each repo to keep them up to date. However, here are a few steps you

Read more

Bots accessing Squash URLs

Avatar

squashlabs, April 16, 2019

By default Squash will reject new deployment starts when the requests are coming from a known list of bots. This is helpful if you are not using Squash’s built-in Basic Authentication. We recommend enabling Basic Authentication though. This only affects the deployment startup process. Squash will still allow bots to access environment URLs when they

Read more

Docker Issues

Avatar

squashlabs, April 13, 2019

Please refer to this page for more information on Docker support in Squash. Docker image does not exist Are you using private docker images? if so, please double check the access credentials for your registry server. Also ensure the image is still available in there. Check if the deployment cache is being used, invalidate the

Read more

Repository issues

Avatar

squashlabs, April 13, 2019

Git clone failed If you are using GitHub, please check if you have authorized this repository in GitHub. Go to Settings -> Repositories: and click on “Check my GitHub permissions”: For GitLab and Bitbucket, if this is a new repository you can click on the “Force a repository sync” button. Missing private repositories This is

Read more

IP Addresses

Avatar

squashlabs, April 13, 2019

Squash currently runs its infrastructure mainly from AWS, on North American regions. Due to the fact that there is a very large number of possible IPs used by our deployments, we can’t provide a list of IP address for whitelisting. That being said, we plan to support static IPs in the future in order to

Read more

Host OS & installed packages

Avatar

squashlabs, April 13, 2019

Host OS and installed packages The host virtual machine where we deploy your Docker containers comes with an absolute minimum list of handy tools. These are not meant to be extensive since you can fully customize the environment within a Docker container to fit your needs. Host environment details: Operating System: Amazon Linux 2 (CentOS

Read more

FAQ: Billing

Avatar

squashlabs, March 29, 2019

How do the VM hours work? Each plan has a limit of VM hours you can use without additional charge. This limit is calculated based on the 1GB VM sizes. If you go over your plan’s limit of hours Squash will automatically charge the additional hours at the regular rate/hour on each VM size. More

Read more

FAQ: General Questions

Avatar

squashlabs, March 29, 2019

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)? See Pre-seeded databases (dev dbs). Does Squash manipulate the HTTP requests of my application in any way? Squash does not

Read more

The VM Build Process

Avatar

squashlabs, March 24, 2019

When you start a new deployment Squash will perform the following steps in this order below. You may also check this quick intro on how Squash works. Finding a Build plan Squash first searches for a Squash YAML file. If the file is not present then it checks if there is a deployment profile defined

Read more