-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
118 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "backend-services", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "devcontainer", | ||
"forwardPorts": [], | ||
"workspaceFolder": "/workspace", | ||
|
||
"userEnvProbe": "loginShell", | ||
"updateRemoteUserUID": false, | ||
|
||
"updateContentCommand": "devenv ci", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
// run commands on save | ||
// https://marketplace.visualstudio.com/items?itemName=fsevenm.run-it-on | ||
"fsevenm.run-it-on", | ||
|
||
// Docker for Visual Studio Code | ||
"ms-azuretools.vscode-docker", | ||
|
||
// direnv support | ||
"mkhl.direnv", | ||
|
||
// Nix language support | ||
"jnoortheen.nix-ide", | ||
|
||
// Markdown support and previsualization | ||
"yzhang.markdown-all-in-one", | ||
|
||
// Debugging | ||
"vadimcn.vscode-lldb", | ||
|
||
// Allows to use Alt+Q (or Option+Q in mac) to rewrap lines | ||
"stkb.rewrap" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: "3.6" | ||
services: | ||
dev: | ||
image: ghcr.io/cachix/devenv:latest | ||
volumes: | ||
- ../../:/workspaces:cached | ||
- /var/run/docker.sock:/var/run/docker-host.sock | ||
# Required for ptrace-based debuggers like C++, Go, and Rust | ||
cap_add: | ||
- SYS_PTRACE | ||
security_opt: | ||
- label:disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,9 @@ | |
pkgs.git | ||
pkgs.ack | ||
|
||
# to create containers | ||
pkgs.docker | ||
|
||
# used for building uwsgi: | ||
pkgs.gcc | ||
pkgs.libffi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters