coltonidle
coltonidle
RRailway
Created by coltonidle on 8/10/2024 in #✋|help
Hosting my first vue website
excellent. that worked. woot
11 replies
RRailway
Created by coltonidle on 8/10/2024 in #✋|help
Hosting my first vue website
readme says See [Configuration Reference](https://vitejs.dev/guide/). so i guess vite it is!
11 replies
RRailway
Created by coltonidle on 8/10/2024 in #✋|help
Hosting my first vue website
gotcha. uhm. its just a vue template i got from tailwind
11 replies
RRailway
Created by coltonidle on 8/10/2024 in #✋|help
Hosting my first vue website
N/A
11 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
fool me once...
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
looks like it auto created this service in us-west while all my other stuff lives in us-east
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
No description
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
now i just gotta connect the db to it (hopefully thats not an issue) and I should be good to go. WOOT WOOT.
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
ive got a REST api with a publicly accessibly URL and I've got a private kotlin service that is essentially a cronjob service thingy!
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
it works! woot woot!
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
hence why i thought i needed everything configured in this single magical railway.json
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
okay okay. yeah. thats sensible. just threw me off since i wasn't explicit about it.
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
but it looks like railway will use railway.json even if i dont configure it
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
and so i thought that maybe the config file was something different than the railway.json i had created
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
I think maybe what confused me was that I didn't have that filled out at all in service1
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
ah railway config file
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
actually. im going to go for
server.railway.json and server2.railway.json in the root and set that in the service settings too
where do i set that?
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
i think ill just put the railway.json in each service folder. lemme see if that does the trick...
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
I thought I needed to do something like this (made up the field names of course... but this is what i was looking for)
{
"$schema": "https://schema.up.railway.app/railway.schema.json",
"services" : [
{
"name": "server",
"build": {
"builder": "NIXPACKS",
"buildCommand": "./gradlew -p server clean build -x check -x test"
},
"deploy": {
"startCommand": "java $JAVA_OPTS -jar server/build/libs/*-all.jar"
}
},
{
"name": "service2",
"build": {
"builder": "NIXPACKS",
"buildCommand": "./gradlew -p server2 clean build -x check -x test"
},
"deploy": {
"startCommand": "java $JAVA_OPTS -jar server2/build/libs/*-all.jar"
}
}
]
}
{
"$schema": "https://schema.up.railway.app/railway.schema.json",
"services" : [
{
"name": "server",
"build": {
"builder": "NIXPACKS",
"buildCommand": "./gradlew -p server clean build -x check -x test"
},
"deploy": {
"startCommand": "java $JAVA_OPTS -jar server/build/libs/*-all.jar"
}
},
{
"name": "service2",
"build": {
"builder": "NIXPACKS",
"buildCommand": "./gradlew -p server2 clean build -x check -x test"
},
"deploy": {
"startCommand": "java $JAVA_OPTS -jar server2/build/libs/*-all.jar"
}
}
]
}
41 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
each server directory just holds it's own railway.json
41 replies