Run Locally
You don’t need a VPS to run Isekai Core if you prefer local installation. You can run the full application on your personal computer (Windows, macOS, or Linux) using Docker Desktop and Isekai Core will function entirely offline (except when publishing to DeviantArt).
This is the recommended method for:
- Testing the application before deploying
- Personal usage
- Developing custom integrations
Prerequisites
Section titled “Prerequisites”- Docker Desktop: Download and install Docker Desktop for your Operating System
- DeviantArt Application
Installation Steps
Section titled “Installation Steps”-
Set up your directory
Open your terminal (PowerShell, Command Prompt, or Terminal) and create a folder for the project:
Terminal window # Create a foldermkdir isekaicd isekai# Download the Docker Compose filecurl -o docker-compose.yml https://raw.githubusercontent.com/isekai-sh/isekai-core/main/docker-compose.yml# Download the env examplecurl -o .env https://raw.githubusercontent.com/isekai-sh/isekai-core/main/.env.exampleNote: On Windows PowerShell, you might need to use Invoke-WebRequest or just download the files manually from the browser.
-
Configure your Environment Variables
Open the .env file in a text editor (Notepad, TextEdit, VS Code) and edit frontend and backend URLs:
NODE_ENV=productionPORT=4000# Frontend accesses Backend hereVITE_API_URL=http://localhost:4000/api# Browser accesses Frontend hereFRONTEND_URL=http://localhost:3000Edit your DeviantArt Application credentials:
DEVIANTART_CLIENT_ID=12345DEVIANTART_CLIENT_SECRET=your-secretDEVIANTART_REDIRECT_URI=http://localhost:4000/api/auth/deviantart/callbackGenerate strong random strings for session management and encryption. You can use a password generator or run
openssl rand -hex 32in a terminal.SESSION_SECRET=long_random_string_hereENCRYPTION_KEY=32_byte_hex_string_here -
Run The Container
Start the application stack:
Terminal window docker compose up -dDocker will build the images locally (Frontend, Backend, Publisher) and start all services (MinIO, Postgres, Redis). This might take a few minutes the first time.
-
Access the app
- Open your browser to http://localhost:3000
- You should see the login screen
- Click “Login with DeviantArt”
Optional: Access the MinIO Console at http://localhost:9001 (login: minioadmin / minioadmin) to view uploaded files.
Managing the App
Section titled “Managing the App”Stopping the App
Section titled “Stopping the App”To stop the app and free up system resources:
docker compose downUpdating
Section titled “Updating”To update to the latest version of Isekai Core:
# If using local builds (default docker-compose.yml)git pull # If you cloned the repodocker compose build --pulldocker compose up -d
# If using pre-built images (docker-compose.prod.yml)docker compose -f docker-compose.prod.yml pulldocker compose -f docker-compose.prod.yml up -dWhere is my data?
Section titled “Where is my data?”By default, Docker stores data in “volumes” managed by Docker Desktop:
postgres_data: Database with all your drafts, schedules, and settingsredis_data: Session data and job queuesminio_data: Uploaded images and files
Your data persists even if you restart your computer or stop the containers.
Using External Storage
Section titled “Using External Storage”If you prefer to use an external S3-compatible storage provider (Cloudflare R2, AWS S3, etc.) instead of local MinIO, see the Storage Setup guide for configuration instructions.