Michael
09/24/2024, 2:21 PMErik Osterman (Cloud Posse)
09/24/2024, 4:30 PMErik Osterman (Cloud Posse)
09/24/2024, 4:30 PMErik Osterman (Cloud Posse)
09/24/2024, 4:30 PMErik Osterman (Cloud Posse)
09/24/2024, 4:30 PMMichael
09/24/2024, 4:48 PMErik Osterman (Cloud Posse)
09/24/2024, 5:08 PMErik Osterman (Cloud Posse)
09/24/2024, 5:09 PMErik Osterman (Cloud Posse)
09/24/2024, 5:09 PMErik Osterman (Cloud Posse)
09/24/2024, 5:09 PMMichael
09/24/2024, 7:29 PMIgor M
09/25/2024, 4:12 PMIgor M
09/25/2024, 4:14 PMIgor M
09/25/2024, 4:14 PMErik Osterman (Cloud Posse)
09/25/2024, 4:15 PMIgor M
09/25/2024, 4:15 PMErik Osterman (Cloud Posse)
09/25/2024, 4:15 PMIgor M
09/25/2024, 4:19 PMErik Osterman (Cloud Posse)
09/25/2024, 4:24 PMErik Osterman (Cloud Posse)
09/25/2024, 4:25 PMErik Osterman (Cloud Posse)
09/25/2024, 4:25 PMIgor M
09/25/2024, 4:26 PMErik Osterman (Cloud Posse)
09/25/2024, 4:28 PMErik Osterman (Cloud Posse)
09/25/2024, 4:28 PMErik Osterman (Cloud Posse)
09/25/2024, 4:28 PMErik Osterman (Cloud Posse)
09/25/2024, 4:28 PMIgor M
09/25/2024, 4:29 PMErik Osterman (Cloud Posse)
09/25/2024, 4:29 PMIgor M
09/25/2024, 4:30 PMIgor M
09/25/2024, 4:31 PMErik Osterman (Cloud Posse)
09/25/2024, 4:31 PMErik Osterman (Cloud Posse)
09/25/2024, 4:31 PMTF_DATA_DIRIgor M
09/25/2024, 4:38 PMIgor M
09/25/2024, 4:38 PMErik Osterman (Cloud Posse)
09/25/2024, 4:41 PMErik Osterman (Cloud Posse)
09/25/2024, 4:41 PMErik Osterman (Cloud Posse)
09/25/2024, 4:42 PMErik Osterman (Cloud Posse)
09/25/2024, 4:43 PMMichael
09/26/2024, 4:21 PMJeremy G (Cloud Posse)
09/26/2024, 5:51 PMdevcontainer.json I use for your customized Geodesic. See if there's anything you'd like to take from it and add to yours and please LMK what you think.
{
"name": "Geodesic Dev Container",
"image": "<your-GH-org>/infra:latest",
"mounts": [
"source=${localEnv:HOME}/.aws,target=${localEnv:HOME}/.aws,type=bind",
"source=${localEnv:HOME}/.config,target=${localEnv:HOME}/.config,type=bind",
"source=${localEnv:HOME}/.emacs.d,target=${localEnv:HOME}/.emacs.d,type=bind",
"source=${localEnv:HOME}/.geodesic,target=${localEnv:HOME}/.geodesic,type=bind",
"source=${localEnv:HOME}/.kube,target=${localEnv:HOME}/.kube,type=bind",
"source=${localEnv:HOME}/.ssh,target=${localEnv:HOME}/.ssh,type=bind",
"source=${localEnv:HOME}/.terraform.d,target=${localEnv:HOME}/.terraform.d,type=bind",
"source=${localEnv:HOME}/.bashrc.d,target=${localEnv:HOME}/.bashrc.d,type=bind"
],
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind",
"workspaceFolder": "${localWorkspaceFolder}",
"appPort": ["12345:12345"],
"containerEnv": {
"SHELL": "/bin/bash",
"GEODESIC_PORT": "12345",
"GEODESIC_HOST_CWD": "${localWorkspaceFolder}",
"GEODESIC_WORKDIR": "${containerWorkspaceFolder}",
"LOCAL_HOME": "${localEnv:HOME}",
},
"remoteEnv": {
"LOGIN_SHELL": "/bin/bash"
},
"settings": {
"terminal.integrated.defaultProfile.linux": "/bin/bash"
},
}
Note that appPort and GEODESIC_PORT have to match, but otherwise can be any non-privileged port.Michael
09/26/2024, 6:49 PMlocalWorkspaceFolder is set to the directory on your host machine that contains infra?Jeremy G (Cloud Posse)
09/26/2024, 6:52 PMlocalWorkspaceFolder is a devcontainer standard that refers to the folder which the IDE has opened as the root of the project. So yes, it is the root of the Git repo, containing the components/ and stacks/ directories.