One Click Method
Both Coolify and Dokploy are open-source, self-hosted alternatives to Heroku/Vercel. They make deploying Isekai Core incredibly simple by supporting our docker-compose.yml file natively.
Prerequisites
Section titled “Prerequisites”Before you begin, ensure you have:
- DeviantArt Application
- Storage (optional - MinIO included by default)
- A domain name
- A VPS running Coolify or Dokploy
Deploying on Coolify
Section titled “Deploying on Coolify”- Create Resource
- Install Coolify in your VPS
- Login and create a new project
- Click + New Resource
- Choose Git Repository (Public)
- Enter the URL:
https://github.com/isekai-sh/isekai-core
- Branch: main
- Build Pack: Docker Compose
- Copy environment variables and fill in your values in your Environment Variables tab
- Point root level domain (e.g. example.com) to your frontend app and api subdomain (e.g. api.example.com) to backend app accordingly. You need to configure your DNS to point your domain to Coolify server’s IP address
- Make sure you enable SSL in your Coolify domain configuration
- Click deploy and wait for the apps to be deployed automatically
- You can access your Isekai app in your domain
Deploying on Dokploy
Section titled “Deploying on Dokploy”- Create Application
- Install Dokploy on your VPS
- Go to your dashboard -> Create Service -> Compose
- Name: isekai-core
- Repository: https://github.com/isekai-sh/isekai-core
- Compose Path: ./docker-compose.yml
- Paste your .env content into the Environment tab
- Since Dokploy uses Traefik, you must map the domains manually in the Domains tab:
- Add Domain -> example.com -> Service frontend -> Port 80.
- Add Domain -> api.example.com -> Service backend -> Port 4000.
- Deploy
Backup Your Database
Section titled “Backup Your Database”We strongly recommend backing up your PostgreSQL database. Both Coolify and Dokploy offer easy ways to backup your database to S3-compatible storage buckets. Refer to the Coolify backup guide and Dokploy backup guide to set up an automatic backup strategy.