Skip to content

Commit 89e5a3b

Browse files
committed
chore(devcontainer): remap localhost directory
into the /caltrans/app directory setup for the appcontainer
1 parent 66b6176 commit 89e5a3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"dockerComposeFile": ["../compose.yml"],
44
"service": "dev",
55
"forwardPorts": ["docs:8000", "kibana:5601"],
6-
"workspaceFolder": "/home/caltrans/src",
6+
"workspaceFolder": "/caltrans/app",
77
"postStartCommand": ["/bin/bash", "bin/reset_db.sh"],
88
"postAttachCommand": ["/bin/bash", ".devcontainer/postAttach.sh"],
99
"customizations": {

compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
# https://code.visualstudio.com/docs/remote/create-dev-container#_use-docker-compose
2020
entrypoint: sleep infinity
2121
volumes:
22-
- ./:/home/caltrans/src
22+
- ./:/caltrans/app
2323

2424
docs:
2525
image: caltrans/pems:dev
@@ -28,7 +28,7 @@ services:
2828
ports:
2929
- "8000"
3030
volumes:
31-
- ./:/home/caltrans/src
31+
- ./:/caltrans/app
3232

3333
esconfig:
3434
profiles: ["elasticstack"]

0 commit comments

Comments
 (0)