AFFiNE

alanvwwHOBBY

9 months ago

Description: AFFiNE - Self-host version

Category: Other

URL: https://railway.app/template/V4HyAi

10 Replies

8 months ago

Hello,

Currently this template fails to deploy, please update the start command of the Affine service to - /bin/sh -c "node ./scripts/self-host-predeploy && node ./dist/index.js"


geongeorgePRO

5 months ago

Hi @alanvww thank you for this template. Can you share a github repo to this template? Making some changes to affine requires you to edit its code. Like for instance enabling AI on the self hosted version requires this


mikeleetPRO

3 months ago

hi, thank you for creating this project, is this project maintained?
seems like the connection to Redis is broken and preventing the successful deployment

also to increase the efficiency of the network, i updated the postgres url within Affine to point to internal ipv6 instead of public url of postgres


geongeorge

Hi @alanvww thank you for this template. Can you share a github repo to this template? Making some changes to affine requires you to edit its code. Like for instance enabling AI on the self hosted version requires this

alanvwwHOBBY

2 months ago

Hi, there is no repo for this template. I just fetch the image from the source and connect the database.


mikeleet

hi, thank you for creating this project, is this project maintained?seems like the connection to Redis is broken and preventing the successful deploymentalso to increase the efficiency of the network, i updated the postgres url within Affine to point to internal ipv6 instead of public url of postgres

alanvwwHOBBY

2 months ago

Hi, I just fixed the Redis connection.


brody

Hello,Currently this template fails to deploy, please update the start command of the Affine service to - /bin/sh -c "node ./scripts/self-host-predeploy && node ./dist/index.js"

alanvwwHOBBY

2 months ago

Hi, I believe I’ve identified an issue with my template. When I switch the Redis link to use the private networking domain, it appears that the app is unable to locate the address. However, everything functions correctly when using the public domain.

Attachments


2 months ago


brody

Hello!Perhaps these docs will help you? -https://docs.railway.com/reference/errors/enotfound-redis-railway-internal

alanvwwHOBBY

2 months ago

Still the same issue. Tried add the "?family=0".

Attachments


rallevondalleHOBBY

5 days ago

It deploys now, but how do you add the server to Affine?


rallevondalle

It deploys now, but how do you add the server to Affine?

rallevondalleHOBBY

5 days ago

Ah, just figured it out. Add your Railway URL to Affine env variable AFFINE_SERVER_HOST, that did the job