From 25939ee8a59b730d57960999332358b208931535 Mon Sep 17 00:00:00 2001 From: Devin Kelley <105753233+devkelley@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:45:10 -0700 Subject: [PATCH] Fix .gitignore --- .gitignore | 2 +- container/template/docker.env | 9 +++++++++ container/template/podman.env | 9 +++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 container/template/docker.env create mode 100644 container/template/podman.env diff --git a/.gitignore b/.gitignore index 488a0e7..4aee225 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,4 @@ Cargo.lock /.vscode/* # Do not include .env files for Docker. -*.env +/*.env diff --git a/container/template/docker.env b/container/template/docker.env new file mode 100644 index 0000000..56bafc6 --- /dev/null +++ b/container/template/docker.env @@ -0,0 +1,9 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. +# SPDX-License-Identifier: MIT + +# DNS name used by the container to communicate with host. +HOST_GATEWAY=host.docker.internal + +# Alias for localhost to be replaced by HOST_GATEWAY if run in a container. +LOCALHOST_ALIAS=0.0.0.0 diff --git a/container/template/podman.env b/container/template/podman.env new file mode 100644 index 0000000..1abc4a3 --- /dev/null +++ b/container/template/podman.env @@ -0,0 +1,9 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. +# SPDX-License-Identifier: MIT + +# DNS name used by the container to communicate with host. +HOST_GATEWAY=host.containers.internal + +# Alias for localhost to be replaced by HOST_GATEWAY if run in a container. +LOCALHOST_ALIAS=0.0.0.0