How Do I Deploy a Web Application to the Spinup Container Service?
Spinup’s Container Service allows you to run containerized applications in a secure, managed environment. In this guide, we’ll walk through deploying a real web application — NocoDB, an open-source database GUI — using a MySQL backend.
Overview
We'll go through the following steps:
Create a database (e.g., MySQL)
Store database credentials as a secret
Configure and launch the container service
Open the necessary ports for access
Access the deployed application
Step 1: Create a Database
In your Spinup Space, click Create, then choose Serverless Database (e.g., MySQL).
Set your parameters and click Create Database.
Wait a few minutes for the database to provision.
Record the Endpoint, Username, and Password — you’ll need these for your application to connect.
Step 2: Create a Secret
In your Space, navigate to the Secrets tab.
Click Add Secret.
Name your secret (e.g.,
NC_DB).Format the secret for NocoDB using your database credentials:
mysql2://<ENDPOINT>:3306?u=<USERNAME>&p=<PASSWORD>&d=<DBNAME>
Step 3: Configure and Deploy the Container Service
Go to Create → Container Service.
Basic Info:
Enter a Service Name (e.g.,
nocodbexample)Choose a Size (e.g., nano.1GB)
Containers Tab:
Click Add Container
Name:
nocodbImage:
nocodb/nocodb(press Enter or click the checkmark)Ports: Add
8080/TCP(the default port used by NocoDB)Secret Environment Variables: Add the key
NC_DBand select your secret
Click Add Container, then proceed to the Summary tab and click Create Service.
Spinup will deploy the container. You can monitor its status from the service dashboard. Once ready, the service will show a green status dot.
Step 4: Open Required Ports in the Firewall
By default, only ports 22 and 3389 are open. To access your app:
Go to your Space’s Firewall tab.
Click Add Rule.
Choose:
Service: Other (Custom)
Port:
8080Toggle Anywhere on Campus
Click Add Rule
After a few seconds, the new rule will appear in the firewall table.
Step 5: Access the Web App
Once deployed and the firewall is configured, your application is available at:
http://<container-endpoint>:8080For example:
http://spinup-0018a5-nocodbexample.svc.spinup.yale.edu:8080This address is accessible only from Yale networks. If you need to expose it to the public internet, you must submit a request for load balancer and domain setup.
Need Public Access?
To expose your app publicly (e.g., nocodbexample.yale.edu with HTTPS):
Complete a Security Planning Assessment (SPA)
Get domain approval from YaleSites or YSM Communications
Submit a ServiceNow Load Balancer Request