R
Railway

✋|help

Deploy angular application

JJannik9/9/2023
error:
2 minutes ago via GitHub

Init

main
View Logs

    Removed

    Deployed 3 minutes ago via GitHub

    Init

main

Failed

Deployed 5 minutes ago via GitHub

Init

main

Failed

Deployed 6 minutes ago via GitHub

Init

main

Removed

Deployed 9 minutes ago via GitHub

added caddyfile

main

Removed

Deployed 15 minutes ago via GitHub

added readme

main

Failed

Deployed 16 minutes ago via GitHub

added readme

main
frontend
∕

Sep 9, 2023 3:26 pm

active
frontend-production-d9d7.up.railway.app
Filter
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/09/09 13:27:29 [notice] 1#1: using the "epoll" event method
2023/09/09 13:27:29 [notice] 1#1: nginx/1.21.1
2023/09/09 13:27:29 [notice] 1#1: built by gcc 8.3.0 (Debian 8.3.0-6)
2023/09/09 13:27:29 [notice] 1#1: OS: Linux 6.1.0-9-cloud-amd64
2023/09/09 13:27:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/09/09 13:27:29 [notice] 1#1: start worker processes

2023/09/09 13:27:29 [notice] 1#1: start worker process 33


Dockerfile
FROM node:18-alpine3.16 AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

# Stage 2: Set up Nginx and serve the built app
FROM nginx:1.21.1
COPY --from=build /app/dist/frontend /usr/share/nginx/html
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
JJannik9/9/2023
nginx conf
server {
    listen 80;
    server_name frontend-production-d9d7.up.railway.app;

    root /usr/share/nginx/html;
    index index.html index.htm;

    location / {
        try_files $uri $uri/ /index.html;
    }
}

87190d5f-0565-4ae2-a3c7-7ac6d14ba4a9

Looking for more? Join the community!

Recommended Posts
mongo on railwayI am trying to get mongo v7 up and running on railway. When using default options, I am getting follTCP Proxy timeoutI'm trying to start a Redis server with the official Docker image from Docker Hub with #TCP + LogginHow to move from Working Localhost w/ Django Websockets to Railway production?I had a functioning django websocket fantasy draft on my local host using daphne and redis. However,There's suddenly two new random columns in my database??I went in and checked my railway dashboard and to my surprise there's two new completely random dataRailway having issues with Mongoose NPM package???Locally my code works fine, I can connect to Mongo using Mongoose no issues but when on Railway it rNo VAT taxes on invoicesHello everyone I've just joined this server. On my invoices, I don't see any VAT tax prices includeIssue with mounting volumeHello, I have an instance of n8n running, I need to attach a volume to keep community node persistenPin memory usageI'm running a service that scales memory usage unpredictably and quickly, and it crashes in these caVariables redeploy infoSometimes when I don't have an active deployment and I change the variables it triggers a redeploy bStatic IPsIs there any updates for static IPs? I would love to use Railway for a Discord bot so everything is Prebuilt Mqtt Service and PortsLooking for some guidance. Currently have a couple different services in my project, including a posMySQL queries timeout or lead to blank screen on web versionFor the last 2 days or so I've been running into some problems with my personal project database. It