proudparrot2
Explore posts from serversServing Nuxt with an Express server
I want to serve Nuxt inside an Express server. Is this possible?
The reason I want to do this is because I have a function that handles incoming websocket requests and deals with them accordingly
Currently using express alongside a node:http server
13 replies
Object literal may only specify known properties, and 'ui' does not exist in type InputConfig
Hi there, I'm trying to specify icon packs to use with Nuxt UI. However, when I go to put them into my Nuxt config as specified in the Theming section of the docs (https://ui.nuxt.com/getting-started/theming#collections), TypeScript complains that
ui does not exist in type InputConfig ...
and, for some reason, Nuxt UI stops working (it was working before adding the ui
object.
Nuxt config:
4 replies
CDCloudflare Developers
•Created by proudparrot2 on 4/7/2024 in #general-help
Minecraft server over Cloudflare Zero Trust Tunnels
A few months ago, I connected a Cloudflare tunnel to my cloud server and linked a domain to tcp://localhost:25565 in order to play on a Minecraft server, and it worked fine.
However, I am unable to reproduce this to play on a new Minecraft server. Was there an update to tunnels that blocked this? If not, could you help me troubleshoot my current setup? I want to be able to link a domain to my Minecraft server without revealing my origin IP to prevent abuse.
24 replies
<Index> with stores
Hello there,
I'm building an application where I have a store defined in a separate non-component file which I have an array of objects being stored in there and being updated on a function.
I'm mapping that store using
<Index>
using the setup below (openWindows
is the store)
It starts out as an empty array, but when I add items to the store, only the first index in the store ends up being displayed. I'm verifying this by checking the length of openWindows
The count goes up, but no new elements are being displayed. Any suggestions would be great :)26 replies
Banned dependencies
Where does Railway get the dependencies to not allow the container to start?
https://parrot.is-really-hot.wtf/oamqaoBD
My package.json doesn't have this dependency
11 replies
Private Networking
I'm trying to deploy Plausible Analytics via a Docker image, and have both that and Postgres installed in an environment. I tried to deploy a Clickhouse DB via Docker Image, but to no avail. I did find this template, https://railway.app/template/clickhouse, but I can't figure out how to get the URL from that and reference it in an ENV in the Plausible service.
Would this have something to do with private networking? I've tried opening PN on the Clickhouse DB and referencing it (clickhouse.railway.internal) as
CLICKHOUSE_DATABASE_URL
in Plausible, but its saying that it's an invalid URL. Do I have to put a port or protocol in front of it? (CH is running on port 8123)24 replies
What's the best approach for this?
I have a Discord bot that uses the quick.db npm package to store data. It currently reads and writes from a database.sqlite file which stores all the data. When I upload my project to Railway, the database works fine - stores data, reads it, perfectly fine. However, when I any new changes to my project, the database gets overwritten by a new one.
This was mostly expected for a problem like this, so I though I'd ask to see what's the best approach for this.
a. Is there a way to have Railway push the database back to the GitHub repository, so when I pull those changes on my local machine, edit, and push it back again, everything will be synced?
b. Or, the most realistic way of saying this, could I use a MySQL service on Railway?
I'm more leaning towards the MySQL option, but I'm not sure how much it would cost per month, or what that would look like. If anyone could give me some pointers, that'd be greatly appreciated!
21 replies
Custom Domain isn't updating along with up.railway.app domain
Hey there, I have a website on node.js that serves web content. When I push my changes to GitHub, it says deployed and all that good stuff.
When I visit my domain, however, I see that it hasn't updated to reflect the new changes, yet the default domain, on up.railway.app, is updated. It takes a few horus to update. Does anybody know why this would be happening?
https://artclass.site (custom domain)
https://drawing-tips.up.railway.app (default domain)
13 replies