Appearance
Getting Started
This guide will help you get up and running with Goblins. You'll learn how to create your account, deploy your first service, and set up routing.
Creating Your Account
- Navigate to the Goblins login page
- Click Sign In to authenticate with your organization's SSO provider
- Once authenticated, you'll be taken to your dashboard
First-Time Users
When you first log in, Goblins automatically creates a default project, configuration, and secret for you. These defaults help you get started quickly.
Understanding the Dashboard
After logging in, you'll see the main dashboard with navigation tabs:
- Services: Your deployed applications
- Workers: Background job processors
- Routes: Traffic routing rules
- Domains: Your registered domain names
- Configs: Application configuration
- Secrets: Encrypted sensitive data
Projects
Projects help you organize your resources. All your services, routes, configs, and secrets belong to a project.
Switching Projects
Use the project selector in the top navigation to switch between projects. Your selected project filters all resources you see.
Creating a Project
- Go to Projects in the navigation
- Click Create Project
- Enter a name and optional description
- Click Create
Default Project
Every account has a default project that cannot be deleted. Use additional projects to organize different applications or environments.
Deploying Your First Service
Step 1: Prepare Your Docker Image
Before deploying, ensure your application is packaged as a Docker image and pushed to a container registry that Goblins can access.
Step 2: Create the Service
- Navigate to the Services tab
- Click Create Service
- Fill in the service details:
- Name: A unique name for your service (e.g.,
my-api) - Image: Your Docker image (e.g.,
myregistry/my-api:v1.0.0) - Port: The port your application listens on (e.g.,
8080) - Replicas: Number of instances to run (1-12)
- Config: Select a configuration (use default if unsure)
- Secret: Select a secret (use default if unsure)
- Name: A unique name for your service (e.g.,
- Click Create
Step 3: Monitor Deployment
After creating your service:
- The status will show pending while deploying
- Once deployed, the status changes to ready
- The Replicas column shows running vs. target instances (e.g.,
3/3)
Image Requirements
Use specific image tags (e.g., v1.0.0) instead of latest for reliable deployments and rollbacks.
Setting Up Routing
To expose your service to the internet, you need to configure a domain and route.
Step 1: Add a Domain
- Go to the Domains tab
- Click Add Domain
- Enter your domain hostname (e.g.,
api.example.com) - Click Create
DNS Configuration
Make sure your domain's DNS is configured to point to the Goblins platform. Contact your administrator for the correct DNS settings.
Step 2: Create a Route
- Go to the Routes tab
- Click Create Route
- Configure the route:
- Domain: Select your domain
- Path: The URL path to match (e.g.,
/or/api) - Service: Select the service to route traffic to
- Enabled: Toggle on to activate the route
- Click Create
Once the route is created and enabled, traffic to your domain will be routed to your service.
Managing Configuration
Configs store key-value pairs that your services can access as environment variables.
Adding Config Items
- Go to the Configs tab
- Click on a config to manage its items
- Click Add Item
- Enter a Key (e.g.,
DATABASE_URL) and Value - Click Save
When to Use Configs
Use configs for non-sensitive settings like:
- API endpoints
- Feature flags
- Environment names
Managing Secrets
Secrets work like configs but are encrypted and designed for sensitive data.
Adding Secret Items
- Go to the Secrets tab
- Click on a secret to manage its items
- Click Add Item
- Enter a Key (e.g.,
API_KEY) and Value - Click Save
Security
Secret values are encrypted at rest. Only store sensitive data in secrets, not in configs.
Viewing Deployments
Every time you update a service, a deployment record is created.
Viewing Deployment History
- Navigate to a service
- Click Deployments or View History
- See all past deployments with their status, timestamp, and changes
Rolling Back
If a deployment causes issues:
- Find a previous successful deployment in the history
- Click Rollback
- Confirm the rollback
This creates a new deployment with the previous configuration.
Resource Quotas
Your account has limits on resources you can create:
- Services: Maximum number of services (includes workers)
- Replicas: Maximum total replicas across all services
You can see your current usage and limits in the dashboard. If you need higher limits, contact your administrator.
API Access
For automation and CI/CD integration, you can access all Goblins functionality through the API.
Creating an API Key
- Go to API Keys in your account settings
- Click Create API Key
- Give it a descriptive name (e.g.,
CI/CD Pipeline) - Copy and securely store the key (it won't be shown again)
Using the API
Include your API key in requests:
bash
curl -H "Authorization: Bearer gob_your_api_key_here" \
https://api.goblins.example.com/api/services/See the API Reference for complete documentation.
Next Steps
- API Reference - Automate deployments with the API
- Services - Learn more about service configuration
- Secrets - Advanced secrets management
- Deployments - Deployment strategies and rollbacks