File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "dockerComposeFile" : " docker-compose.yml" ,
3+ "service" : " devcontainer" ,
4+ "workspaceFolder" : " /workspaces/${localWorkspaceFolderBasename}" ,
5+ "postCreateCommand" : " .devcontainer/bin/postCreateCommand"
6+ }
Original file line number Diff line number Diff line change 1+ services :
2+ # Update this to the name of the service you want to work with in your docker-compose.yml file
3+ devcontainer :
4+ image : ghcr.io/studitemps/devcontainer-base:date-2025-11-24
5+
6+ network_mode : " host"
7+
8+ volumes :
9+ # Update this to wherever you want VS Code to mount the folder of your project
10+ - ../../..:/workspaces:cached
11+ # Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker-compose for details.
12+ - /var/run/docker.sock:/var/run/docker.sock
13+ # Store command history persistently
14+ - commandhistory:/commandhistory
15+
16+ # Overrides default command so things don't shut down after the process ends.
17+ command : sleep infinity
18+
19+ rabbitmq :
20+ # https://hub.docker.com/_/rabbitmq/
21+ image : rabbitmq:3.10.8
22+ ports :
23+ - " 127.0.0.1:5672:5672" # publish to host loopback only
24+ - " 127.0.0.1:15672:15672" # publish to host loopback only
25+
26+ postgres :
27+ # https://hub.docker.com/_/postgres/
28+ image : postgres:15.6
29+ ports :
30+ - " 127.0.0.1:5432:5432" # publish to host loopback only
31+ environment :
32+ - POSTGRES_USER=postgres
33+ - POSTGRES_PASSWORD=postgres
34+
35+ volumes :
36+ commandhistory :
You can’t perform that action at this time.
0 commit comments