yann
yann
Explore posts from servers
RRailway
Created by yann on 9/1/2024 in #✋|help
Postgres and SSL
N/A
5 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
It is quite inconvenient to re-deploy the container every time you want to run a command. Is there really no other way?
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
With this admin user you can do some basic user management through the API: https://github.com/binwiederhier/ntfy/issues/722#issuecomment-1546789275
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
Update: It is possible to set NTFY_PASSWORD which determines the password for the next added user. You can then create an admin user like this: ntfy user add --role=admin name
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
I see now that the auth commands for ntfy are interactive. (https://docs.ntfy.sh/config/#example-private-instance) That basically means that ntfy cannot be deployed on railway with auth?
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
So the only way to run these commands would be to make them part of the start command?
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
Hey, the template works. Is the source code of the template published anywhere? Would love to see how it looks like. By the way, to use ntfy effectively, it's required to run some commands on the instance. For example to configure auth roles. Do you know if it's possible to connect to the deployed container and run commands on it?
19 replies
RRailway
Created by yann on 12/14/2023 in #✋|help
Run ntfy.sh on Railway
4777e174-d2c3-4955-bb26-7510d6ed462a
19 replies
RRailway
Created by yann on 10/8/2023 in #✋|help
Regions
f27abcf6-da92-4300-aa0b-a366603ecb8c
7 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
removing an active deployment just stops the service.
yes, that makes sense. But what is the effect of removing a failed deployment? And if there is no effect, why is it possible to do it?
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
It's not clear to me why some deployments are listed under 'history' and others are not. And why it's possible to remove a failed deployment if it has no effect whatsoever
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
What is the purpose of the remove button then? If I click it the deployment stays in the upper list even after reloading the page
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
In the GUI I can remove them manually though. At least they are being displayed in a different way than removed deployments. Hence I’m not sure what is the difference and why it’s possible to transition them to removed manually using the GUI
18 replies
RRailway
Created by yann on 5/4/2023 in #✋|help
Why are failed deployments not removed automatically?
9ebe90c5-ef7a-458e-b833-ac1fc55ce7bb
18 replies
RRailway
Created by yann on 4/19/2023 in #✋|help
Cannot connect to Node WebSockets deployment - even with custom domain
Thank you, that solved it. 🙂 Is this a common code pattern when using a PAAS provider? I would've never thought about this as the problem. Maybe the build process could look out for this and throw an error 🙂
10 replies
RRailway
Created by yann on 4/19/2023 in #✋|help
Cannot connect to Node WebSockets deployment - even with custom domain
Hey Brody, thank you for getting back to me. I have changed the connection string and it's still not working. At least throwing an error this time.
websocat wss://ws.mydomain.com
websocat: WebSocketError: WebSocketError: Received unexpected status code (503 Service Unavailable)
websocat: error running
websocat wss://ws.mydomain.com
websocat: WebSocketError: WebSocketError: Received unexpected status code (503 Service Unavailable)
websocat: error running
The server code is very basic - just what I posted above. It works fine in localhost so not sure what to change about it. The subdomain was set using the CNAME record provided by Railway. Interestingly, I have to explicitly define the port 8080 in order to connect to it in localhost (ws://localhost:8080). With the deployed version it works neither with nor without the port defined.
10 replies
RRailway
Created by yann on 4/19/2023 in #✋|help
Cannot connect to Node WebSockets deployment - even with custom domain
9ebe90c5-ef7a-458e-b833-ac1fc55ce7bb
10 replies