WIP: Dokku review instance support #2094

Closed
lambadalambda wants to merge 6 commits from gitlab-mr-iid-825 into develop
No description provided.
Author
Owner

This kind of works, but the login goes to localhost:4040 instead of /api/v1/apps or https://pleroma.soykaf.com. What did I forget to set?

btw, the instance is only set to soykaf for testing, long term it should be possible to set this, but that's a different MR i'd say.

This kind of works, but the login goes to localhost:4040 instead of `/api/v1/apps` or `https://pleroma.soykaf.com`. What did I forget to set? btw, the instance is only set to soykaf for testing, long term it should be possible to set this, but that's a different MR i'd say.
Author
Owner

@shpuld @hj ping :)

@shpuld @hj ping :)
Member

i think you can just yarn dev

i think you can just `yarn dev`
Member

do we have to use alpine?

do we have to use alpine?
Member

well you said that login shouldn't be proxied not should use relative paths, so i don't know

I've seen sgsgb glitch out with localhost as instance once, probably some problem related to config fetching or BE bug, idk.

otherwise i have no idea what the hell this whole thing is so you probably know better. My idea of review app was just spawning a simple nginx instance serving static files taken from build step

well you said that login shouldn't be proxied not should use relative paths, so i don't know I've seen sgsgb glitch out with localhost as instance once, probably some problem related to config fetching or BE bug, idk. otherwise i have no idea what the hell this whole thing is so you probably know better. My idea of review app was just spawning a simple nginx instance serving static files taken from build step
Member

also can we point it at another instance that has open registrations or at least one where both me and @shpuld have accounts? soykaf is completely useless to me.

also can we point it at another instance that has open registrations or at least one where both me and @shpuld have accounts? soykaf is completely useless to me.
Member

this task only sends commands to the remote server to create an app and pushes the repo to it, so why not?

this task only sends commands to the remote server to create an app and pushes the repo to it, so why not?
Member

mostly because i'm not familiar with it and wouldn't really want to learn it if something goes wrong

mostly because i'm not familiar with it and wouldn't really want to learn it if something goes wrong
Author
Owner

TIL

TIL
Author
Owner

Sure, it can point to anything. This was really just set for testing, as I mentioned above.

Sure, it can point to anything. This was really just set for testing, as I mentioned above.
Author
Owner

This isn't what's being run on the server, it's just what's being run to push the git repo to the dokku server (dokku = self hosted heroku)

This isn't what's being run on the server, it's just what's being run to push the git repo to the dokku server (dokku = self hosted heroku)
Member

my point still stands tho

my point still stands tho
Member

yeah, and i can't really test it if it's pointing at soykaf :)

yeah, and i can't really test it if it's pointing at soykaf :)
Member

still, running a dev server as a review app is a bit of an overkill

still, running a dev server as a review app is a bit of an overkill
Author
Owner

Well, there's nothing to learn here. It's just a container for git and ssh, alpine is just one of the smallest images for that.

Well, there's nothing to learn here. It's just a container for git and ssh, alpine is just one of the smallest images for that.
Member

i'm talking about alpine itself since it's not even debian-based but whatever, have it your way.

i'm talking about alpine itself since it's not even debian-based but whatever, have it your way.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe!2094
No description provided.