Skip to content

Devcontainer and Dockerfile.dev #2

@Bechma

Description

@Bechma

I found a couple of issues with the initial setup:

  1. When you run it inside of a devcontainer, the port is automatically forwarded to your localhost, but the databases required are on a different network/port access than the devcontainer. So the provision never happens
  2. The interaction that requires the install script from Shuttle makes it impossible to install it inside of a Dockerfile. But either way, for the two services that require database, we are going to have the connection problem unless the network is assign to the host (maybe document it?).
  3. When you run the shuttle run command, you don't have permissions as the vscode user, you need to be root (simple sudo su), but to keep it in mind.

Just opening this to keep track of these two issues in the initial setup (I suppose some people who know these technologies but not Rust will face these problems)

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Improvement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions