Skip to content

Commit eb6fc80

Browse files
kinowmr-c
authored andcommitted
Use docker compose command as compose is now a plugin of docker
1 parent 0912e92 commit eb6fc80

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
run: docker build -f Dockerfile -t commonworkflowlanguage/cwlviewer:latest .
1818
- name: Confirm we can execute java in the container
1919
run: docker run commonworkflowlanguage/cwlviewer:latest java -version
20-
- name: Validate docker-compose
21-
run: docker-compose -f docker-compose.yml config
20+
- name: Validate docker compose
21+
run: docker compose -f docker-compose.yml config
2222
- name: Create the docker-compose services
23-
run: docker-compose -f docker-compose.yml up --no-start
23+
run: docker compose -f docker-compose.yml up --no-start
2424
- name: Start the docker-compose services
25-
run: docker-compose -f docker-compose.yml start
26-
- name: Stop the docker-compose services
27-
run: docker-compose -f docker-compose.yml stop
25+
run: docker compose -f docker-compose.yml start
26+
- name: Stop the docker compose services
27+
run: docker compose -f docker-compose.yml stop

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ Then run the following commands to clone the project in your local system.
3030

3131
In the project directory, to start CWLViewer exposed on port `8080`, run:
3232

33-
docker-compose up
33+
docker compose up
3434

3535
The web server will connect to a local host, you'll see the message saying "Tomcat started on port(s):8080".
3636

3737
To see the locally running CWL Viewer app, visit http://localhost:8080/ in your web browser.
3838

3939
To stop and remove:
4040

41-
docker-compose down
41+
docker compose down
4242

4343

4444
If you change the source code, then use this `docker-compose.override.yml` and
45-
re-build with `docker-compose build`:
45+
re-build with `docker compose build`:
4646

4747
```yaml
4848
version: '3.9'
@@ -75,7 +75,7 @@ services:
7575
Then start the containers:
7676
7777
```
78-
docker-compose up
78+
docker compose up
7979
```
8080
8181
Then start Spring Boot locally:
@@ -91,7 +91,7 @@ Now you can connect to http://localhost:7999 in your browser.
9191
To completely reset the state, you must delete the data volumes:
9292
9393
```
94-
docker-compose down
94+
docker compose down
9595
docker volume rm cwlviewer_bundle cwlviewer_git cwlviewer_graphviz cwlviewer_postgres cwlviewer_sparql
9696
```
9797

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
# ports:
6363
# - "3030:3030"
6464
## To find the admin password, try:
65-
## docker-compose exec sparql grep admin /fuseki/shiro.ini
65+
## docker compose exec sparql grep admin /fuseki/shiro.ini
6666
image: stain/jena-fuseki:3.4.0
6767
networks:
6868
- sparql
@@ -77,4 +77,4 @@ services:
7777
nofile:
7878
soft: 65536
7979
hard: 65536
80-
command: "/start-jena.sh"
80+
command: "/start-jena.sh"

0 commit comments

Comments
 (0)