Temporary failure in name resolution
I'm trying to deploy a PHP container using MySQL, and it is crashing like
ENABLE_ALPINE_PRIVATE_NETWORKING
is set to true and55 Replies
Project ID:
8f297c52-c464-41f8-be1a-748322966bed
8f297c52-c464-41f8-be1a-748322966bed
I tried removing the alpine part and
Maybe if I insert a sleep into the start command
even though wait for db shouldn't be doing that
nice that went even better
yeah wait it shouldn't be doing this because
hmm
Uncaught mysqli_sql_exception: Connection refused in /wait-for-db.php:12
alright well this was incredibly cursed but we chillin now
Brody you are going to love this template let me tell you
will I though?
I have insanely high standards
yes you will love it
47 service variables that are set incorrectly 🙂
currently fighting apache
I think I will livepatch the apache configuration inside of the start command
because i'm just scrappy like that
you wouldn't be the first
this is gonna work
/bin/sh -c "echo \"ServerName 0.0.0.0\" >> /etc/apache2/apache2.conf && sleep 3 && /entrypoint.sh"
well, it worked more than it did last timewhy does the server name matter?
with this, it still doesn't work, but at least it doesn't show this error
it's just a warning, it shouldn't actually matter
but the 3 second sleep is needed
maybe, but I'm still trying to get it to show up. Does railway support port 80?
BASED
bruv
mf be telling me theres a 500 error but then it not given me the 500 error
ic
what is railway doing
how didn't this get transformed
the question is what are you doing, that doesn't generate a valid base64 string on its own
you also need to use double quotes
o i shoulda used lower
I'm doing this because you can't do multiple mounts
POG
@Brody any idea why the secret generator in the template isn't working?
comes in like this
is that a screenshot from the service in your project or the template?
the first one is the template, the second is the service
Railway
Deploy Pixelfed on Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
in that case, I think I've already answered that question 😉
you can't generate screenshots from the template?
oh
double quotes?
I swear singles worked before
lol what
i meant secrets
sorry
the docs show single quotes
docs aren't always a single source of truth, but I am
fat ah ego :P
you oughta pass this one along probably
I should
another thing that should be fixed is
there is a slight delay between when a template is saved
and when the "create project" screen reflects that change
i think? a reload fixes that
that's just cache haha, hard refresh fixes it
yeah but its lowkey hard to get used to, if they use react they could hook into the context provider
they do use react lol, it's not as simple as you think
either way, your template doesn't use the private host and port for either mysql or redis
oh yeah thats because I was having issues with netowrking ^^^ and i forgot to change, I'll do that now
I mean I've done this sort of thing before
little more complex with what railway is doing
What is railway doing? There's not much going on with the frontend at least
not saying it couldn't be done, but it's likely just not worth it at this time
you're funny
Yeah, I'm sure they have bigger priorities
It's literally just a bog standard frontend application?
The only unique thing about it is the canvas
you're real funny
What am I missing
a whole lot
like?
far outside the scope of this thread
alright lol