Code market place setup
Hello, I would like to setup code market place, does some how have a poc for the tls reverse proxy ?
I'm not really sure how to start..
Thanks
21 Replies
<#1306277796372414544>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Hey @e1k, I'm not sure what you mean by "code market place", could you elaborate a bit?
Hello @Phorcys, i'm talking about this project :
https://github.com/coder/code-marketplace
Am I on the right discord ?
I need to help for setup.
GitHub
GitHub - coder/code-marketplace: Open source extension marketplace ...
Open source extension marketplace for VS Code. Contribute to coder/code-marketplace development by creating an account on GitHub.
oh yeah definitely, I just wanted to make sure you weren't talking about Coder or code-server
I'll get back to you later today
will you be at the ECW next week? I see you're in some CTF Discord servers
I manage to get a working nginx config, but I need to use an other port, I can't use 3001, there 's already a container that I can't move.
I belive there's something to do with nginx but I'm not expert enough to find an answer.
Sadly, this year I can't make it, I'm too busy. But I have great memories from the past years !
that's too bad!
could you send your config over?
I created a container containing nginx and code marketplace, nothing really fancy but I can share it if needed.
This is my docker-compose :
And this my nginx config :
do you already have a working nginx/reverse-proxy instance that isn't this one?
Yes, wait a few sec
It was pretty similar, using port
3001:3001
and proxy_pass http://127.0.0.1:3001/
I mean, what I usually do is have a single reverse-proxy for all containers, then have all the configs in the same place
saves some time
that said, i do not see any issue with this config, are you running into any particular issue?
yeah, this is just for poc, it was easier, on prod it will be two different one
I m running into 502
Hello @Phorcys can you help me to setup my nginx ?
@e1k what's the output of
curl http://192.168.111.62:9015
?I finally found a way around, there is the setting
--address
it wasn't in the doc but I found it in the source codewhat did you achieve with the address flag?
change the port?
Yes change both the port and the adress
Hello @Phorcys I'm still facing some issues,
Now that I have a working instance, I'm having trouble connecting it to my code-server
I know that I have to generate certs to access it but I'm not sure about what settings I need to use in my certificate, could you help me ?
Thank you very much !
let me grab them for you
@e1k you can set the
EXTENSIONS_GALLERY
variable
see https://coder.com/docs/code-server/FAQ#how-do-i-use-my-own-extensions-marketplace for info
and https://github.com/uwu/basic-env/blob/main/.github/devcontainer/base/.devcontainer/Dockerfile#L77 for an example@Phorcys recently after updating code-server all my extensions in the ide side panel show a yellow triangle saying this extension is not signed by the extension marketplace with the install button grayed out. Do you know if this is known issue or is fixed in a newer version of code marketplace? I think I am still on v2.1.0
Hi, could you open an issue over at https://github.com/coder/code-marketplace/issues please?
hey @e1k, any luck?
Hello, yes I got everything working nice and smooth : )
great!
@Phorcys closed the thread.