File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4444
4545 - name : Integration Tests
4646 run : |
47- cd examples/
48- docker- compose build overview_srv
49- docker- compose run overview_srv pytest --tb=short
47+ cd examples/intro/
48+ docker compose build overview_srv
49+ docker compose run overview_srv pytest --tb=short
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ to allow us to write solid integration tests that dont involved mockig the code
4242
4343To run the tests use docker-compose to create the necessary containers.
4444
45- ` docker- compose run overview_srv pytest --tb=short `
45+ ` docker compose run overview_srv pytest --tb=short `
4646
4747## How we use this example code base
4848
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: "3"
33services :
44 overview_srv :
55 build :
6- context : ../
6+ context : ../../
77 dockerfile : examples/intro/Dockerfile
88 ports :
99 - " 5001:5001"
@@ -13,17 +13,17 @@ services:
1313 - " host.docker.internal:host-gateway"
1414 volumes :
1515 - /var/run/docker.sock:/var/run/docker.sock
16- - ..:/app/
16+ - ../../ :/app/
1717 - .:/app/example/
1818 command : uvicorn product_mock.overview_service:app --host=0.0.0.0 --port=5001
1919
2020 products_srv :
2121 build :
22- context : ../
22+ context : ../../
2323 dockerfile : examples/intro/Dockerfile
2424 ports :
2525 - " 5002:5002"
2626 volumes :
27- - ..:/app/
27+ - ../../ :/app/
2828 - .:/app/example/
2929 command : uvicorn product_mock.products_service:app --host=0.0.0.0 --port=5002
You can’t perform that action at this time.
0 commit comments