Skip to content

Commit 8cb4020

Browse files
committed
update docker-compose and the readme file
1 parent 9221666 commit 8cb4020

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

cucumber-archetype-parallel-advance/README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,17 @@ After running the tests, you can generate and serve the Allure reports using the
4141

4242
it is necessary to run the docker-compose-h2.yml file.
4343
the command is:
44-
docker-compose -f docker-compose-h2.yml up it will start the container
45-
so you could watch the reports in http://localhost:8080
44+
```sh
45+
docker compose -f docker-compose-h2.yml up
46+
```
47+
it will start the container
48+
so you can watch the reports in http://localhost:8080
49+
50+
then you can run the next command to stop the container
51+
52+
```sh
53+
docker compose -f docker-compose-h2.yml down
54+
```
4655

4756
### Generate Allure Report
4857

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3'
2+
services:
3+
chaintest:
4+
image: anshooarora/chaintest:latest
5+
container_name: chaintest
6+
environment:
7+
- "SPRING_PROFILES_ACTIVE=h2"
8+
- SPRING_DATASOURCE_URL=jdbc:h2:file:./data/db
9+
- SPRING_DATASOURCE_DRIVERCLASSNAME=org.h2.Driver
10+
ports:
11+
- 84:80

0 commit comments

Comments
 (0)