macwilko
Explore posts from serversDocker compose "context", supported in Railway when building a Dockerfile?
I have a Docker compose file I'm trying to bring to Railway, I'm noticing that one Dockerfile fails to build because it can't find the folders its trying to build:
The only difference I see to the other Dockerfiles in the compose file is it uses a context:
My Dockerfile is built using:
15 replies
Can I create a Bot for Railway discord
Dear Railway community
I'de like to create a Discord bot to scape data from Railways Discord community, the purpose is to demonstrate a Proof of Concept for an idea I'm working on.
The Proof of Concept I'de like to develop is structuring the unstructured data within channels like chit-chat, making it possible to search for the interesting topics discussed, from something like Google or other search engine. Most of the discussions in chit-chat are lost and difficult to find outside of Discord.
I understand Railway uses AnswerOverflow for the Help threads, and so I don't wish to disturb this, I would turn off the scraping for all channels under "Support" category (help/feedback/feedback-archived), so as not to duplicate the content.
The scraping will be focused on the "chit-chat", "links-resources", "memes-only", "tunes", "infra-discussion" like channels, to demonstrate organising the unstructured information to be SEO friendly.
The types of inference models I would look into:
- Topic analysis (discovering the types of things talked about)
- Summarisation (summarising the channel discussion)
- Object detection within images (memes-only)
- Sentiment analysis (understanding the mood of the discussion)
The entire project will of course be hosted on Railway.app 🙂
Thank-you for reading,
Matt
5 replies
cluster MySQL on railway
So, call me crazy but, I don’t want to use PlanetScale. I want to be 100% Railway, the total fanboy I am.
This is for a good reason, the latency of talking to a database hosted on railway via private networking is much better.
So, I want to make sure I’m building on a good foundation here. How can I make a database cluster, with master/slave replication.
Reading the guide how to do this
https://hevodata.com/learn/mysql-master-master-replication/#ss1
I need to edit the /etc/mysql/my.cnf
I’m not sure how I can do this though, with the docker images provided only the environment variables are exposed.
11 replies
Axios (node server) private network
If my private network name is "exotic-auth", how can I do a Axios request to it via private network.
The http client is setup like this:
for API_URL I've tried http://exotic-auth/v1 and exotic-auth/v1 but nether resolve.
70 replies
Railway DNS Webhook
Sometimes railway can take longer to verify a DNS change on Cloudflare than normal.
I'de like some webhook or event to subscribe to notifying of the DNS change, would this be possible?
I can also potentially Poll Railway API but I'de be concerned about eating into precious Usage Limits on the API.
17 replies
Change default Railway logo between deployments
Is there anyway to change the default screen that shows a Railway logo when the service isn't up?
it seems everytime I do a deploy to the Remix app, there's a brief period between switching over deployments
and the Railway logo is shown
23 replies