From 89e5a3b668b44d3f2ec916e6bca6327b03db8d3c Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 10 Dec 2024 16:24:32 +0000 Subject: [PATCH] chore(devcontainer): remap localhost directory into the /caltrans/app directory setup for the appcontainer --- .devcontainer/devcontainer.json | 2 +- compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 915ec56..ac6c6c0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "dockerComposeFile": ["../compose.yml"], "service": "dev", "forwardPorts": ["docs:8000", "kibana:5601"], - "workspaceFolder": "/home/caltrans/src", + "workspaceFolder": "/caltrans/app", "postStartCommand": ["/bin/bash", "bin/reset_db.sh"], "postAttachCommand": ["/bin/bash", ".devcontainer/postAttach.sh"], "customizations": { diff --git a/compose.yml b/compose.yml index 5609749..d554a91 100644 --- a/compose.yml +++ b/compose.yml @@ -19,7 +19,7 @@ services: # https://code.visualstudio.com/docs/remote/create-dev-container#_use-docker-compose entrypoint: sleep infinity volumes: - - ./:/home/caltrans/src + - ./:/caltrans/app docs: image: caltrans/pems:dev @@ -28,7 +28,7 @@ services: ports: - "8000" volumes: - - ./:/home/caltrans/src + - ./:/caltrans/app esconfig: profiles: ["elasticstack"]