Skip to content

Commit

Permalink
chore(devcontainer): remap localhost directory
Browse files Browse the repository at this point in the history
into the /caltrans/app directory setup for the appcontainer
  • Loading branch information
thekaveman committed Dec 10, 2024
1 parent 61492ee commit 3c6f71b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c6f71b

Please sign in to comment.