From f16f15eb6dd54fe7f7f7cfd2f6c83b636037c5c9 Mon Sep 17 00:00:00 2001 From: Hamel Husain Date: Tue, 19 May 2020 17:32:04 -0700 Subject: [PATCH] make localhost explicit --- .devcontainer.json | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer.json b/.devcontainer.json index 68321658..023577ca 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -4,6 +4,7 @@ "service": "watcher", "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], "forwardPorts": [4000], + "appPort": [4000], "extensions": ["ms-python.python", "ms-azuretools.vscode-docker"], "runServices": ["converter", "jekyll", "watcher"] diff --git a/docker-compose.yml b/docker-compose.yml index 3e25fcf2..d4eaa4fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: image: hamelsmu/fastpages-jekyll restart: unless-stopped ports: - - "127.0.0.1:4000:4000" + - "4000:4000" volumes: - .:/data/ command: >