banner
c_hanze

Hanzeの小屋

逸一时,误一世。

Deploy MixSpace at low cost using NorthFlank

Preparation#

  • GitHub account (recommended)
  • A bank card (UnionPay/MasterCard/VISA/JCB are all acceptable) (no payment required)
  • A smart brain and a little bit of English foundation

Register NorthFlank#

https://app.northflank.com/

Select the "Developer Sandbox" plan#

2025-08-30T05:32:36.png

Create MongoDB Database#

Use MongoDB Atlas[ @白熊 sama ]#

https://cloud.mongodb.com/

MongoDB Atlas is a cloud database hosting solution launched by MongoDB, offering a free 512MB Mongo database, which is sufficient for light use by small site owners.

After successfully logging in, the website will guide you to create your own database, and then you will see the following interface.

2025-09-04T12:36:07.png

First, click Connect; the first time you create a database, it will ask you to set a username and password.

Then click on Network Access on the right, and add the allowed IP range 0.0.0.0/0 (since we don't know the specific IP when connecting with clew, we can only open all v4).

Finally, return to the main interface, click Connect again, select drivers to connect, and we can see the following interface.

2025-09-04T12:34:33.png

Replace the contents according to the guide and save the Connect String for later use.

Reprint information:
Using Claw Cloud Run to have your own Shiro@白熊喵 at low cost
https://mahiru.tech/posts/default/02
April 20, 2025, 11:52
CC BY-NC-SA 4.0

Deploy Redis Database#

Deploy using Zeabur#

If you are using Zeabur for the first time, you can register using the following invitation link.

The main interface of Zeabur is as follows.

2025-09-04T12:50:24.png

Click New Project to create a new project.

The project page is as follows.

2025-09-04T12:51:51.png

Click Add Server to deploy the Redis database in Databases.

2025-09-04T12:53:50.png

2025-09-04T12:54:18.png

After deployment, it will automatically return to the project homepage, waiting for the project to show Running after startup.

2025-09-04T12:55:17.png

Save the following corresponding values for later use.

2025-09-04T12:56:34.png

Deploy Mix Space Backend#

Create a new project#

Choose the region as US Central US - Central or EU West EU - West.
2025-08-30T05:35:52.png

Select to create a new service#

2025-08-30T05:37:58.png

Select the image#

2025-09-04T13:58:20.png
Fill in the image address as innei/mx-server:latest.

Resource configuration#

Select nf-compute-20, which is 0.2vCPU + 512MB configuration.
2025-08-30T05:45:00.png

Network configuration#

Fill in the port as 2333 and change the protocol to HTTP.
Check Publicly expose this port to the internet for public access.
2025-09-04T13:00:57.png

Environment variables#

Please refer to Using Claw Cloud Run to have your own Shiro@白熊 sama at low cost.

Local storage#

Click on "Volumes" in the menu bar.
Select "Create Volume".
In "Configuration", set the Access Mode to Single Read/Write.
Fill in the access path (Container mount path) as /root/.mx-space.
2025-09-04T13:03:19.png

Deploy Shiro Frontend#

Please refer to official documentation.

https://mx-space.js.org/docs/themes/shiro/deploy

Deploy Kami Frontend#

Note: The Kami theme has been archived; it is recommended to use the Shiro theme.

Please refer to Mix-space kami theme deployment Serverless to save garbage hosts@喵二.

This article is synchronized and updated to xLog by Mix Space. The original link is https://space.hanze.icu/posts/project/mx

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.