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
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
I’m posting this in response to Jose’s recent tweet (Cr. link) :
People are sleeping on Elixir for a coding harness:
Hot-code swappi...
New
Hello,
I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #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
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











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