R
Railway14mo ago
a

Let's encrypt on Railway

I would like to self host ntfy.sh on railway. The config requires a cert and key: This is sever.yml
base-url: "https://ntfy.example.com"
listen-http: ":80"
listen-https: ":443"
key-file: "/etc/letsencrypt/live/[Railway?].key"
cert-file: "/etc/letsencrypt/live/[Railway?].crt"
base-url: "https://ntfy.example.com"
listen-http: ":80"
listen-https: ":443"
key-file: "/etc/letsencrypt/live/[Railway?].key"
cert-file: "/etc/letsencrypt/live/[Railway?].crt"
This is my Dockerfile:
FROM binwiederhier/ntfy
COPY server.yml /etc/ntfy/server.yml
ENTRYPOINT ["ntfy", "serve"]
FROM binwiederhier/ntfy
COPY server.yml /etc/ntfy/server.yml
ENTRYPOINT ["ntfy", "serve"]
Is this possible with railway?
3 Replies
Percy
Percy14mo ago
Project ID: N/A
luna
luna14mo ago
disable https as railway will do that for you.
a
aOP14mo ago
N/A thank you. Also had to add the port as variable
Want results from more Discord servers?
Add your server