File tree Expand file tree Collapse file tree 4 files changed +9
-58
lines changed
Expand file tree Collapse file tree 4 files changed +9
-58
lines changed Original file line number Diff line number Diff line change 22
33## Configuration and Deployement
44
5- This project is configured to have 3 modules, each forming a subproject:
5+ This project is configured to have 2 modules, each forming a subproject:
66
77```
88.
99├── backend
10- ├── database
1110├── frontend
1211├── LICENSE
1312└── README.md
@@ -46,9 +45,9 @@ We link to the [Docker Compose documentation](https://docs.docker.com/compose/in
4645
4746### Dev Containers
4847
49- The team makes use of [ VSCode Dev Containers ] ( https://code.visualstudio.com/docs/devcontainers/containers ) to streamline development.
50- Each of the subprojects can be opened in a container,
51- where the developer can then make use of the running (containerized) services .
48+ If you want to develop inside one of the containers,
49+ you can attach your running VSCode session to this container using `` CTRL + SHIFT + P `` ,
50+ then selecting `` Attach to running container `` .
5251
5352### Caveats and Debug tips:
5453
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ services:
1111 database :
1212 condition : service_healthy
1313 volumes :
14- - /workspace/backend/node_modules
14+ - ./backend:/workspace/backend # Bind local backend folder to container
15+ - /workspace/backend/node_modules # Anonymous volume for node_modules
1516 restart : always
1617
1718 frontend :
@@ -25,7 +26,8 @@ services:
2526 depends_on :
2627 - backend
2728 volumes :
28- - /workspace/frontend/node_modules
29+ - ./frontend:/workspace/frontend # Bind local frontend folder to container
30+ - /workspace/frontend/node_modules # Anonymous volume for node_modules
2931 restart : always
3032
3133 database :
@@ -35,7 +37,7 @@ services:
3537 ports :
3638 - " 5432:5432"
3739 volumes :
38- - ./backend/src/infrastructure/database:/workspace/database
40+ - ./backend/src/infrastructure/database:/workspace/database # Bind local database folder
3941 environment :
4042 - POSTGRES_USER=postgres
4143 - POSTGRES_PASSWORD=postgres
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments