diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 87d1864a..cab1ecb4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,6 @@ +--- name: "(Release) Release dev container templates" -on: +"on": workflow_dispatch: push: branches: diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml index 5bd95145..a2eea5d2 100644 --- a/.github/workflows/test-pr.yaml +++ b/.github/workflows/test-pr.yaml @@ -1,5 +1,6 @@ +--- name: "PR - Test Updated Templates" -on: +"on": pull_request: jobs: @@ -74,7 +75,7 @@ jobs: # Configure templates only if `devcontainer-template.json` contains the `options` property. optionProp=( $(jq -r '.options' devcontainer-template.json) ) - if [ "${optionProp}" != "" ] && [ "${optionProp}" != "null" ] ; then + if [ "${optionProp}" != "" ] && [ "${optionProp}" != "null" ] ; then options=( $(jq -r '.options | keys[]' devcontainer-template.json) ) if [ "${options[0]}" != "" ] && [ "${options[0]}" != "null" ] ; then @@ -101,7 +102,7 @@ jobs: template_id="${{ matrix.templates }}" src_dir="test/${template_id}" - if [ ! -d "$(pwd)/${src_dir}" ] ; then + if [ ! -d "$(pwd)/${src_dir}" ] ; then echo "Template '${{ matrix.templates }}' is missing a test folder" exit 1 fi @@ -119,11 +120,11 @@ jobs: # Fake out existence of extensions, VS Code Server to validate extensions echo "(*) Stubbing out extensions and VS Code Server..." - # Configuring path for 'devcontainer.json' + # Configuring path for 'devcontainer.json' dev_container_relative_path="src/${template_id}" dev_container_json_name=".devcontainer.json" - if [ -d "$(pwd)/${dev_container_relative_path}/.devcontainer" ] ; then + if [ -d "$(pwd)/${dev_container_relative_path}/.devcontainer" ] ; then dev_container_relative_path="${dev_container_relative_path}/.devcontainer" dev_container_json_name="devcontainer.json" fi @@ -136,7 +137,7 @@ jobs: # Fetching extensions list defined in 'devcontainer.json' extensions="$(jq '.extensions' --compact-output "${dev_container_tmp}" | tr -d '[' | tr -d ']' | tr ',' '\n' 2>/dev/null || echo -n '')" - # Stubbing extensions list for the tests validation with checkExtension() + # Stubbing extensions list for the tests validation with checkExtension() devcontainer exec --workspace-folder "src/${template_id}/" --id-label ${id_label} /bin/sh -c "\ mkdir -p \$HOME/.vscode-server/bin \$HOME/.vscode-server/extensions \ && cd \$HOME/.vscode-server/extensions \ diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 21fe1feb..5ef059e5 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -1,5 +1,6 @@ +--- name: "Update Documentation" -on: +"on": push: branches: - main @@ -54,4 +55,4 @@ jobs: -f body="$message" \ -f head="$branch" \ -f base='main' - fi \ No newline at end of file + fi diff --git a/src/alpine/.github/dependabot.yml b/src/alpine/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/alpine/.github/dependabot.yml +++ b/src/alpine/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/anaconda-postgres/.devcontainer/docker-compose.yml b/src/anaconda-postgres/.devcontainer/docker-compose.yml index 40a654b5..750deb78 100644 --- a/src/anaconda-postgres/.devcontainer/docker-compose.yml +++ b/src/anaconda-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' services: @@ -6,7 +7,7 @@ services: context: .. dockerfile: .devcontainer/Dockerfile env_file: - - .env + - .env volumes: - ../..:/workspaces:cached @@ -26,7 +27,7 @@ services: volumes: - postgres-data:/var/lib/postgresql/data env_file: - - .env + - .env # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/anaconda-postgres/.github/dependabot.yml b/src/anaconda-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/anaconda-postgres/.github/dependabot.yml +++ b/src/anaconda-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/anaconda-postgres/environment.yml b/src/anaconda-postgres/environment.yml index 3047deaf..4f167430 100644 --- a/src/anaconda-postgres/environment.yml +++ b/src/anaconda-postgres/environment.yml @@ -1,3 +1,4 @@ +--- dependencies: - jupyter - matplotlib diff --git a/src/anaconda/.github/dependabot.yml b/src/anaconda/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/anaconda/.github/dependabot.yml +++ b/src/anaconda/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/cpp-mariadb/.devcontainer/docker-compose.yml b/src/cpp-mariadb/.devcontainer/docker-compose.yml index 496ac460..0c0051ca 100644 --- a/src/cpp-mariadb/.devcontainer/docker-compose.yml +++ b/src/cpp-mariadb/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' volumes: @@ -20,7 +21,7 @@ services: # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -30,5 +31,6 @@ services: - mariadb-data:/var/lib/MARIADB env_file: - .env + # Add "forwardPorts": ["3306"] to **devcontainer.json** to forward DB locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/cpp-mariadb/.github/dependabot.yml b/src/cpp-mariadb/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/cpp-mariadb/.github/dependabot.yml +++ b/src/cpp-mariadb/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/cpp/.github/dependabot.yml b/src/cpp/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/cpp/.github/dependabot.yml +++ b/src/cpp/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/debian/.github/dependabot.yml b/src/debian/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/debian/.github/dependabot.yml +++ b/src/debian/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/docker-existing-docker-compose/.devcontainer/docker-compose.yml b/src/docker-existing-docker-compose/.devcontainer/docker-compose.yml index 58147003..f635d52b 100644 --- a/src/docker-existing-docker-compose/.devcontainer/docker-compose.yml +++ b/src/docker-existing-docker-compose/.devcontainer/docker-compose.yml @@ -1,9 +1,10 @@ +--- version: '3.8' services: # Update this to the name of the service you want to work with in your docker-compose.yml file your-service-name-here: - # Uncomment if you want to override the service's Dockerfile to one in the .devcontainer - # folder. Note that the path of the Dockerfile and context is relative to the *primary* + # Uncomment if you want to override the service's Dockerfile to one in the .devcontainer + # folder. Note that the path of the Dockerfile and context is relative to the *primary* # docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile" # array). The sample below assumes your primary file is in the root of your project. # @@ -23,4 +24,3 @@ services: # Overrides default command so things don't shut down after the process ends. command: /bin/sh -c "while sleep 1000; do :; done" - diff --git a/src/docker-existing-docker-compose/.github/dependabot.yml b/src/docker-existing-docker-compose/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/docker-existing-docker-compose/.github/dependabot.yml +++ b/src/docker-existing-docker-compose/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/docker-existing-dockerfile/.github/dependabot.yml b/src/docker-existing-dockerfile/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/docker-existing-dockerfile/.github/dependabot.yml +++ b/src/docker-existing-dockerfile/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/docker-in-docker/.github/dependabot.yml b/src/docker-in-docker/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/docker-in-docker/.github/dependabot.yml +++ b/src/docker-in-docker/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/docker-outside-of-docker-compose/.devcontainer/docker-compose.yml b/src/docker-outside-of-docker-compose/.devcontainer/docker-compose.yml index 73ad0bde..a8070428 100644 --- a/src/docker-outside-of-docker-compose/.devcontainer/docker-compose.yml +++ b/src/docker-outside-of-docker-compose/.devcontainer/docker-compose.yml @@ -1,20 +1,21 @@ +--- version: '3' services: app: - build: + build: context: . dockerfile: Dockerfile volumes: # Forwards the local Docker socket to the container. - - /var/run/docker.sock:/var/run/docker-host.sock + - /var/run/docker.sock:/var/run/docker-host.sock # Update this to wherever you want VS Code to mount the folder of your project - ../..:/workspaces:cached # Overrides default command so things don't shut down after the process ends. entrypoint: /usr/local/share/docker-init.sh - command: sleep infinity + command: sleep infinity # Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust. # cap_add: @@ -22,5 +23,5 @@ services: # security_opt: # - seccomp:unconfined - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/docker-outside-of-docker-compose/.github/dependabot.yml b/src/docker-outside-of-docker-compose/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/docker-outside-of-docker-compose/.github/dependabot.yml +++ b/src/docker-outside-of-docker-compose/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/docker-outside-of-docker/.github/dependabot.yml b/src/docker-outside-of-docker/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/docker-outside-of-docker/.github/dependabot.yml +++ b/src/docker-outside-of-docker/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/dotnet-fsharp/.github/dependabot.yml b/src/dotnet-fsharp/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/dotnet-fsharp/.github/dependabot.yml +++ b/src/dotnet-fsharp/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/dotnet-mssql/.devcontainer/docker-compose.yml b/src/dotnet-mssql/.devcontainer/docker-compose.yml index 322a0506..84d58afa 100644 --- a/src/dotnet-mssql/.devcontainer/docker-compose.yml +++ b/src/dotnet-mssql/.devcontainer/docker-compose.yml @@ -1,8 +1,9 @@ +--- version: '3' services: app: - build: + build: context: . dockerfile: Dockerfile @@ -18,7 +19,7 @@ services: # Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. # user: root - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: diff --git a/src/dotnet-mssql/.github/dependabot.yml b/src/dotnet-mssql/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/dotnet-mssql/.github/dependabot.yml +++ b/src/dotnet-mssql/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/dotnet-postgres/.devcontainer/docker-compose.yml b/src/dotnet-postgres/.devcontainer/docker-compose.yml index 3fdce488..2013c051 100644 --- a/src/dotnet-postgres/.devcontainer/docker-compose.yml +++ b/src/dotnet-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' services: @@ -14,11 +15,11 @@ services: # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - + # Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. # user: root - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -30,7 +31,7 @@ services: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_DB: postgres - + # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/dotnet-postgres/.github/dependabot.yml b/src/dotnet-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/dotnet-postgres/.github/dependabot.yml +++ b/src/dotnet-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/dotnet/.github/dependabot.yml b/src/dotnet/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/dotnet/.github/dependabot.yml +++ b/src/dotnet/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/go-postgres/.devcontainer/docker-compose.yml b/src/go-postgres/.devcontainer/docker-compose.yml index 071a9398..f54c69e3 100644 --- a/src/go-postgres/.devcontainer/docker-compose.yml +++ b/src/go-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' volumes: @@ -5,23 +6,23 @@ volumes: services: app: - build: + build: context: . dockerfile: Dockerfile env_file: - # Ensure that the variables in .env match the same variables in devcontainer.json - - .env + # Ensure that the variables in .env match the same variables in devcontainer.json + - .env volumes: - ../..:/workspaces:cached - + # Overrides default command so things don't shut down after the process ends. command: sleep infinity # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -33,6 +34,5 @@ services: # Ensure that the variables in .env match the same variables in devcontainer.json - .env - # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/go-postgres/.github/dependabot.yml b/src/go-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/go-postgres/.github/dependabot.yml +++ b/src/go-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/go/.github/dependabot.yml b/src/go/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/go/.github/dependabot.yml +++ b/src/go/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/java-postgres/.devcontainer/docker-compose.yml b/src/java-postgres/.devcontainer/docker-compose.yml index 0a6449b9..dd0c4af6 100644 --- a/src/java-postgres/.devcontainer/docker-compose.yml +++ b/src/java-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' volumes: @@ -6,26 +7,26 @@ volumes: services: app: container_name: javadev - build: + build: context: . dockerfile: Dockerfile environment: # NOTE: POSTGRES_DB/USER/PASSWORD should match values in db container - POSTGRES_PASSWORD: postgres - POSTGRES_USER: postgres - POSTGRES_DB: postgres - POSTGRES_HOSTNAME: postgresdb + POSTGRES_PASSWORD: postgres + POSTGRES_USER: postgres + POSTGRES_DB: postgres + POSTGRES_HOSTNAME: postgresdb volumes: - ../..:/workspaces:cached - + # Overrides default command so things don't shut down after the process ends. command: sleep infinity # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -41,4 +42,4 @@ services: POSTGRES_DB: postgres # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. - # (Adding the "ports" property to this file will not forward from a Codespace.) \ No newline at end of file + # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/java-postgres/.github/dependabot.yml b/src/java-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/java-postgres/.github/dependabot.yml +++ b/src/java-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/java/.github/dependabot.yml b/src/java/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/java/.github/dependabot.yml +++ b/src/java/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/javascript-node-mongo/.devcontainer/docker-compose.yml b/src/javascript-node-mongo/.devcontainer/docker-compose.yml index b7ba686b..d1a019c1 100644 --- a/src/javascript-node-mongo/.devcontainer/docker-compose.yml +++ b/src/javascript-node-mongo/.devcontainer/docker-compose.yml @@ -1,8 +1,9 @@ +--- version: '3.8' services: app: - build: + build: context: . dockerfile: Dockerfile volumes: @@ -14,7 +15,7 @@ services: # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -33,4 +34,4 @@ services: # (Adding the "ports" property to this file will not forward from a Codespace.) volumes: - mongodb-data: \ No newline at end of file + mongodb-data: diff --git a/src/javascript-node-mongo/.github/dependabot.yml b/src/javascript-node-mongo/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/javascript-node-mongo/.github/dependabot.yml +++ b/src/javascript-node-mongo/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/javascript-node-postgres/.devcontainer/docker-compose.yml b/src/javascript-node-postgres/.devcontainer/docker-compose.yml index 3b7c6e87..ce50c90f 100644 --- a/src/javascript-node-postgres/.devcontainer/docker-compose.yml +++ b/src/javascript-node-postgres/.devcontainer/docker-compose.yml @@ -1,21 +1,22 @@ +--- version: '3.8' services: app: - build: + build: context: . dockerfile: Dockerfile volumes: - ../..:/workspaces:cached - + # Overrides default command so things don't shut down after the process ends. command: sleep infinity # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: diff --git a/src/javascript-node-postgres/.github/dependabot.yml b/src/javascript-node-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/javascript-node-postgres/.github/dependabot.yml +++ b/src/javascript-node-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/javascript-node/.github/dependabot.yml b/src/javascript-node/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/javascript-node/.github/dependabot.yml +++ b/src/javascript-node/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/jekyll/.github/dependabot.yml b/src/jekyll/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/jekyll/.github/dependabot.yml +++ b/src/jekyll/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/kubernetes-helm-minikube/.github/dependabot.yml b/src/kubernetes-helm-minikube/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/kubernetes-helm-minikube/.github/dependabot.yml +++ b/src/kubernetes-helm-minikube/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/kubernetes-helm/.github/dependabot.yml b/src/kubernetes-helm/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/kubernetes-helm/.github/dependabot.yml +++ b/src/kubernetes-helm/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/markdown/.github/dependabot.yml b/src/markdown/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/markdown/.github/dependabot.yml +++ b/src/markdown/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/miniconda-postgres/.devcontainer/docker-compose.yml b/src/miniconda-postgres/.devcontainer/docker-compose.yml index 40a654b5..750deb78 100644 --- a/src/miniconda-postgres/.devcontainer/docker-compose.yml +++ b/src/miniconda-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' services: @@ -6,7 +7,7 @@ services: context: .. dockerfile: .devcontainer/Dockerfile env_file: - - .env + - .env volumes: - ../..:/workspaces:cached @@ -26,7 +27,7 @@ services: volumes: - postgres-data:/var/lib/postgresql/data env_file: - - .env + - .env # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/miniconda-postgres/.github/dependabot.yml b/src/miniconda-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/miniconda-postgres/.github/dependabot.yml +++ b/src/miniconda-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/miniconda-postgres/environment.yml b/src/miniconda-postgres/environment.yml index 2ae6938d..28ebc253 100644 --- a/src/miniconda-postgres/environment.yml +++ b/src/miniconda-postgres/environment.yml @@ -1,6 +1,7 @@ +--- dependencies: - jupyter - numpy - matplotlib - psycopg2 - - pylint \ No newline at end of file + - pylint diff --git a/src/miniconda/.github/dependabot.yml b/src/miniconda/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/miniconda/.github/dependabot.yml +++ b/src/miniconda/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/php-mariadb/.devcontainer/docker-compose.yml b/src/php-mariadb/.devcontainer/docker-compose.yml index 51df1442..5494658f 100644 --- a/src/php-mariadb/.devcontainer/docker-compose.yml +++ b/src/php-mariadb/.devcontainer/docker-compose.yml @@ -1,6 +1,7 @@ +--- version: '3.8' -services: +services: app: build: context: . @@ -15,7 +16,7 @@ services: # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -31,6 +32,6 @@ services: # Add "forwardPorts": ["3306"] to **devcontainer.json** to forward MariaDB locally. # (Adding the "ports" property to this file will not forward from a Codespace.) - + volumes: mariadb-data: diff --git a/src/php-mariadb/.github/dependabot.yml b/src/php-mariadb/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/php-mariadb/.github/dependabot.yml +++ b/src/php-mariadb/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/php/.github/dependabot.yml b/src/php/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/php/.github/dependabot.yml +++ b/src/php/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/postgres/.devcontainer/docker-compose.yml b/src/postgres/.devcontainer/docker-compose.yml index f2e9705b..efaa6360 100644 --- a/src/postgres/.devcontainer/docker-compose.yml +++ b/src/postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' services: diff --git a/src/postgres/.github/dependabot.yml b/src/postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/postgres/.github/dependabot.yml +++ b/src/postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/powershell/.github/dependabot.yml b/src/powershell/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/powershell/.github/dependabot.yml +++ b/src/powershell/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/python/.github/dependabot.yml b/src/python/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/python/.github/dependabot.yml +++ b/src/python/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/ruby-rails-postgres/.devcontainer/docker-compose.yml b/src/ruby-rails-postgres/.devcontainer/docker-compose.yml index 2224d45d..d43de0a0 100644 --- a/src/ruby-rails-postgres/.devcontainer/docker-compose.yml +++ b/src/ruby-rails-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3' services: diff --git a/src/ruby-rails-postgres/.github/dependabot.yml b/src/ruby-rails-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/ruby-rails-postgres/.github/dependabot.yml +++ b/src/ruby-rails-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/ruby/.github/dependabot.yml b/src/ruby/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/ruby/.github/dependabot.yml +++ b/src/ruby/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/rust-postgres/.devcontainer/docker-compose.yml b/src/rust-postgres/.devcontainer/docker-compose.yml index 5c16f9cf..ace467fd 100644 --- a/src/rust-postgres/.devcontainer/docker-compose.yml +++ b/src/rust-postgres/.devcontainer/docker-compose.yml @@ -1,3 +1,4 @@ +--- version: '3.8' volumes: @@ -9,8 +10,8 @@ services: context: . dockerfile: Dockerfile env_file: - # Ensure that the variables in .env match the same variables in devcontainer.json - - .env + # Ensure that the variables in .env match the same variables in devcontainer.json + - .env volumes: - ../..:/workspaces:cached @@ -21,7 +22,7 @@ services: # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. + # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. # (Adding the "ports" property to this file will not forward from a Codespace.) db: @@ -30,8 +31,8 @@ services: volumes: - postgres-data:/var/lib/postgresql/data env_file: - # Ensure that the variables in .env match the same variables in devcontainer.json - - .env + # Ensure that the variables in .env match the same variables in devcontainer.json + - .env # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally. - # (Adding the "ports" property to this file will not forward from a Codespace.) \ No newline at end of file + # (Adding the "ports" property to this file will not forward from a Codespace.) diff --git a/src/rust-postgres/.github/dependabot.yml b/src/rust-postgres/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/rust-postgres/.github/dependabot.yml +++ b/src/rust-postgres/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/rust/.github/dependabot.yml b/src/rust/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/rust/.github/dependabot.yml +++ b/src/rust/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/typescript-node/.github/dependabot.yml b/src/typescript-node/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/typescript-node/.github/dependabot.yml +++ b/src/typescript-node/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/ubuntu/.github/dependabot.yml b/src/ubuntu/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/ubuntu/.github/dependabot.yml +++ b/src/ubuntu/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/src/universal/.github/dependabot.yml b/src/universal/.github/dependabot.yml index f33a02cd..7cbc3799 100644 --- a/src/universal/.github/dependabot.yml +++ b/src/universal/.github/dependabot.yml @@ -3,10 +3,10 @@ # Please see the documentation for more information: # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates # https://containers.dev/guide/dependabot - +--- version: 2 updates: - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: weekly + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly