Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Mar 31, 2024
1 parent 55784e7 commit 38eacb4
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 68 deletions.
138 changes: 70 additions & 68 deletions .devcontainer/devcontainer.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,79 +1,81 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
{
"name": "${localWorkspaceFolderBasename}",
"containerEnv": {
"HOST_PROJECT_PATH": "${localWorkspaceFolder}",
"name": "${localWorkspaceFolderBasename}",
"containerEnv": {
"HOST_PROJECT_PATH": "${localWorkspaceFolder}",
"PROJECT_NAME": "${localWorkspaceFolderBasename}",
"PROJECT_PATH": "${containerWorkspaceFolder}",
"FLASK_DEBUG": "True"
},
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"context": "..",
"dockerfile": "../Dockerfile",
"FLASK_DEBUG": "True",
"ANSIBLE_LOCALHOST_WARNING": "False",
"ANSIBLE_INVENTORY_UNPARSED_WARNING": "False"
},
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"context": "..",
"dockerfile": "../Dockerfile",
"target": "devcontainer",
"args": {
"args": {
"PROJECT_NAME": "${localWorkspaceFolderBasename}",
"PROJECT_PATH": "${containerWorkspaceFolder}"
}
},
"initializeCommand": "touch ${localWorkspaceFolder}/.devcontainer/.env",
}
},
"initializeCommand": "touch ${localWorkspaceFolder}/.devcontainer/.env",
"updateContentCommand": "LC_ALL=C.UTF-8 ansible-playbook --inventory 127.0.0.1 --connection=local ${containerWorkspaceFolder}/.devcontainer/ansible/setup-container.yml",
"postAttachCommand": "zsh -l",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"runArgs": ["--name", "${localWorkspaceFolderBasename}_devcontainer", "--hostname", "${localWorkspaceFolderBasename}","--env-file",".devcontainer/.env" ],
"mounts": [
"source=${localWorkspaceFolderBasename}-home,target=/home/anvil,type=volume",
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/anvil/.ssh,type=bind,consistency=cached",
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
],
"postAttachCommand": "zsh -l",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"runArgs": ["--name", "${localWorkspaceFolderBasename}_devcontainer", "--hostname", "${localWorkspaceFolderBasename}","--env-file",".devcontainer/.env" ],
"mounts": [
"source=${localWorkspaceFolderBasename}-home,target=/home/anvil,type=volume",
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/anvil/.ssh,type=bind,consistency=cached",
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
],

//Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"jeff-hykin.better-dockerfile-syntax",
"ms-azuretools.vscode-docker",
"ms-vsliveshare.vsliveshare",
"mikestead.dotenv",
"EditorConfig.EditorConfig",
"redhat.vscode-yaml",
"redhat.ansible"
],
"settings": {
"files.exclude": {
"**/.dotnet": true,
"**/.zcompdump": true
},
"dev.containers.copyGitConfig": false,
"dev.containers.gitCredentialHelperConfigLocation": "system",
"editor.tabSize": 2,
"files.readonlyFromPermissions": true,
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.windows": "pwsh",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash",
"icon": "terminal-bash",
"args": ["-l"]
},
"zsh": {
"path": "/bin/zsh",
"icon": "terminal-linux",
"args": ["-l"]
},
"pwsh": {
"args": ["-nologo"],
"icon": "terminal-powershell",
"path": "pwsh"
},
},
"terminal.integrated.tabs.description": "",
"terminal.integrated.tabs.title": "${local}${separator}${cwdFolder}${separator}${process}",
"window.title": "${localWorkspaceFolderBasename}"
}
}
}
//Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"jeff-hykin.better-dockerfile-syntax",
"ms-azuretools.vscode-docker",
"ms-vsliveshare.vsliveshare",
"mikestead.dotenv",
"EditorConfig.EditorConfig",
"redhat.vscode-yaml",
"redhat.ansible"
],
"settings": {
"files.exclude": {
"**/.dotnet": true,
"**/.zcompdump": true
},
"dev.containers.copyGitConfig": false,
"dev.containers.gitCredentialHelperConfigLocation": "system",
"editor.tabSize": 2,
"files.readonlyFromPermissions": true,
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.windows": "pwsh",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash",
"icon": "terminal-bash",
"args": ["-l"]
},
"zsh": {
"path": "/bin/zsh",
"icon": "terminal-linux",
"args": ["-l"]
},
"pwsh": {
"args": ["-nologo"],
"icon": "terminal-powershell",
"path": "pwsh"
},
},
"terminal.integrated.tabs.description": "",
"terminal.integrated.tabs.title": "${local}${separator}${cwdFolder}${separator}${process}",
"window.title": "${localWorkspaceFolderBasename}"
}
}
}
}
Empty file modified .github/dependabot.yml
100755 → 100644
Empty file.
Empty file modified Dockerfile
100755 → 100644
Empty file.
Empty file modified requirements.txt
100755 → 100644
Empty file.

0 comments on commit 38eacb4

Please sign in to comment.