From 031baa33ca66086517655590241262b159146c21 Mon Sep 17 00:00:00 2001 From: Patrick Creighton Date: Wed, 6 Mar 2024 10:47:58 -0800 Subject: [PATCH] Forward website port in compose file --- .devcontainer/devcontainer.json | 1 - .devcontainer/docker-compose.yml | 2 ++ .github/actions/test/action.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f47c6782f..6ccc32116 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -9,7 +9,6 @@ "docker-compose.yml" ], "forwardPorts": [ - 3005, // website 8000 // docs ], "service": "sailbot-workspace", diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index b4f60ab71..e46a00b96 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -7,6 +7,8 @@ services: build: context: . dockerfile: Dockerfile + ports: + - "3005:3005" volumes: - ..:/workspaces/sailbot_workspace:cached - sailbot-new-project-bashhistory:/home/ros/commandhistory:delegated diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 73d5c1c7a..68241e1c7 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -9,7 +9,7 @@ inputs: runs: using: "composite" steps: - # TODO: remove once monorepo + # TODO: remove once monorepo and combine website docker compose into main one - name: Setup Code shell: bash run: |