adam
I wonder if anyone in the community has started to use Github’s Codespaces for their team’s development?
If so, what is there to learn? If not, what’s the reason?
Thanks
Trending in Discussions
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
Hey folks,
I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
Hi everyone,
I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #hex










Showing Posts 19 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
Nefcairon
Do you still prefer gitpod, now that it is Ona?
Is anyone using GitHub Codespaces nowadays? I wonder if I should move my dev setup into the cloud.
joddm
The HTML IntelliSense/autocomplete does not seem to work for HEEx/Elixir files in GitHub Codespaces.
Possibly related to Allow extension to be installed in container or remote · Issue #12 · phoenixframework/vscode-phoenix (github.com)
joddm
For completeness, here is a working solution:
devcontainer.json
docker-compose.yml
Dockerfile
Note the use of
network_modein docker-compose.yml. I did not need to tweak the IP mapping inconfig/dev.exsjoddm
Did you try to edit the
config/dev.exsfile?bdubaut
Yes indeed it is
@arcanemachine setting
network_modeto"host"did not change anthying, I am still getting a 502 withstrict-origin-when-when-cross-originreferer policy.arcanemachine
Great suggestion. That actually fixed an issue I had when Dockerizing a dev server a month or two ago.
joddm
Stupid question, but is the Phoenix server running?
mix phx.serverEdit:
Or you can try to edit the ip-mapping in
config/dev.exsfromhttp: [ip: {127, 0, 0, 1}, port: 4000]to
http: [ip: {0, 0, 0, 0}, port: 4000]arcanemachine
When I’m having trouble with network configuration on Docker, I sometimes use
network_mode: "host"in the compose file to bypass Docker’s networking layer. That way, you can figure out if the problem actually is related to your port config, or if the issue is somewhere else.Unrelated example for demonstration purposes:
compose.yamlbdubaut
From the web terminal I can run
curl http://localhost:4000without any issues, I can see the log message in the console. This makes me think that the traffic is actually not reaching the container at all, so I’m scratching my head as to what I’ve misconfigured.bdubaut
Thank you. I have added the quotes, but it does not change anything