sdan
sdan
Explore posts from servers
RRailway
Created by sdan on 9/12/2023 in #✋|help
Logs down?
No description
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Logs down?
railway up
Indexed Compressed [====================] 100% Failed Failed to upload code with status code 504 Gateway Timeout
railway up
Indexed Compressed [====================] 100% Failed Failed to upload code with status code 504 Gateway Timeout
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Logs down?
getting a Failed to upload code with status code 504 Gateway Timeout when doing railway up
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
yeah i thought it would be cleaner to have everything in a github action but thinking again i can just do this via railway
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
hmm i guess i can just set it up on railway's end directly
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
Run railway up
railway up
shell: /usr/bin/bash -e {0}
env:
RAILWAY_TOKEN: ***
Indexing...
Uploading...
Failed to upload code with status code 504 Gateway Timeout
Error: Process completed with exit code 1.
Run railway up
railway up
shell: /usr/bin/bash -e {0}
env:
RAILWAY_TOKEN: ***
Indexing...
Uploading...
Failed to upload code with status code 504 Gateway Timeout
Error: Process completed with exit code 1.
getting a 504 timeout
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
https://blog.railway.app/p/github-actions for reference i think the issue is that idk if workingDirectory is the right term
11 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
that worked for this temp fix thanks
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
just checked
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
yes
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
yeah they are fine, i guess i am running subprocess.run which might make the command not have permissions
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
# Use the Manim community image as the base
FROM manimcommunity/manim:v0.10.0

# Install Flask and other dependencies
RUN pip install Flask

# Set the working directory
WORKDIR /app

# Change permissions for the working directory
RUN chmod 777 /app

# Copy your Flask app to the container
COPY . /app

# Expose the port the app runs on
EXPOSE 5000

# Command to run the application
CMD ["python", "main.py"]
# Use the Manim community image as the base
FROM manimcommunity/manim:v0.10.0

# Install Flask and other dependencies
RUN pip install Flask

# Set the working directory
WORKDIR /app

# Change permissions for the working directory
RUN chmod 777 /app

# Copy your Flask app to the container
COPY . /app

# Expose the port the app runs on
EXPOSE 5000

# Command to run the application
CMD ["python", "main.py"]
heres my dockerfile i tried to 777 the app dir but cant make folders for some reason
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
no dont think so, i dont need to, all files are ephemeral
14 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
again this is entirely my error -- the db crashing should be handled on my end.
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
also as prev. mentioned, having continuous health checks would be nice
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
railway api monitoring a db that is not running on railway is def. not railway's fault. its just reliable loggin and make sure that if something crashes that it is fully crashes. i think i turned off notifs for crashes which i will turn back on
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
google cloud is a mess for sure but its containable mess :). just docker up, docker down, docker remove, docker ps -a. and tailscale for networking and cloudflare for proxying. i have reliable logs, stuff never hangs, and if it does i know exactly whats up. i can check htop, etc. railway hangs and logs stop and stuff gets silently shut off. more often than not i wake up to a text from someone saying my stuff is down and railway still shows a green box which is frustrating.
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
i do vercel for 99% of stuff but now need to interact with python and vercel is pretty bad at it
58 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
no easy way to run flask servers honestly
58 replies