Create App from GitLab
Appliku integrates with GitLab using token-based authentication. You create a personal access token in GitLab and provide it to Appliku, which then accesses your repositories for deployment.
Prerequisites
- A GitLab account (gitlab.com or self-hosted) with access to the repository you want to deploy
- At least one server connected to Appliku
Step 1: Create a GitLab Access Token
Before connecting GitLab to Appliku, you need to generate an access token:
- Log in to your GitLab account
- Go to Settings (click your avatar in the top-right corner) > Access Tokens
- Click Add new token
- Give the token a descriptive name (e.g., "Appliku deployment")
- Set an expiration date (or leave blank for no expiry, if your GitLab instance allows it)
- Under Scopes, select read_repository
- Click Create personal access token
- Copy the token immediately -- it will not be shown again
Step 2: Set Up GitLab Credentials in Appliku
- Go to Applications > Add Application > GitLab
- Click Setup Credentials
- Enter your GitLab access token
- If you are using a self-hosted GitLab instance, provide the instance URL
- Save the credentials
Appliku will verify the token and connect to your GitLab account.
Step 3: Create the Application
Once your GitLab credentials are configured:
- Select a repository from the list of accessible repositories
- Choose a branch to deploy from
- Select a server or cluster for deployment
- Name your application
- Click Create Application
Push-to-Deploy
Push-to-deploy is supported for GitLab applications. Appliku registers a webhook in your GitLab repository that triggers a deployment on every push to the configured branch.
Token Permissions
The read_repository scope is the minimum required for Appliku to clone and build your code. If your token expires or is revoked, deployments will fail until you update the credentials with a new token.
Next Steps
After creating your application:
- Define processes (web, release, workers)
- Set environment variables
- Configure build settings
- Add a custom domain