initial devcontainer setup
This commit is contained in:
commit
b9b7aa6a08
14 changed files with 411 additions and 0 deletions
61
.devcontainer/devcontainer.json
Normal file
61
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"name": "Ubuntu",
|
||||
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "app",
|
||||
|
||||
"workspaceFolder": "/workspace",
|
||||
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {}
|
||||
},
|
||||
|
||||
"postCreateCommand": "bash .devcontainer/post_create.sh",
|
||||
|
||||
"forwardPorts": [
|
||||
5001
|
||||
],
|
||||
|
||||
"portsAttributes": {
|
||||
"5001": {
|
||||
"label": "PROXY"
|
||||
}
|
||||
},
|
||||
|
||||
"remoteEnv": {
|
||||
"PROJECT_ROOT": "${containerWorkspaceFolder}",
|
||||
"MISE_ENV": "dev,devcontainer"
|
||||
},
|
||||
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"sqltools.connections": [
|
||||
{
|
||||
"name": "Development Database",
|
||||
"driver": "PostgreSQL",
|
||||
"previewLimit": 50,
|
||||
"server": "postgres",
|
||||
"port": 5432,
|
||||
"database": "app",
|
||||
"username": "postgres",
|
||||
"password": "postgres"
|
||||
}
|
||||
]
|
||||
},
|
||||
"extensions": [
|
||||
"github.codespaces",
|
||||
"tamasfe.even-better-toml",
|
||||
"phoenixframework.phoenix",
|
||||
"JakeBecker.elixir-ls",
|
||||
"mechatroner.rainbow-csv",
|
||||
"mikestead.dotenv",
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"github.vscode-github-actions",
|
||||
"humao.rest-client",
|
||||
"mtxr.sqltools-driver-pg",
|
||||
"mtxr.sqltools"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue