Skip to content

Commit 6d54655

Browse files
Merge pull request #120 from charalamm/Use-new-docker-compose-syntax
Use docker compose instead of docker-compose
2 parents d36b50f + 41fd310 commit 6d54655

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
pre-commit run --all-files
3939
4040
- name: Launch services
41-
run: docker-compose up -d stac raster vector
41+
run: docker compose up -d stac raster vector
4242

4343
- name: install lib postgres
4444
run: |
@@ -67,8 +67,8 @@ jobs:
6767
# see https://github.com/developmentseed/tipg/issues/37
6868
- name: Restart the Vector service
6969
run: |
70-
docker-compose stop vector
71-
docker-compose up -d vector
70+
docker compose stop vector
71+
docker compose up -d vector
7272
7373
- name: Sleep for 10 seconds
7474
run: sleep 10s
@@ -78,7 +78,7 @@ jobs:
7878
run: python -m pytest .github/workflows/tests/
7979

8080
- name: Stop services
81-
run: docker-compose stop
81+
run: docker compose stop
8282

8383

8484
publish-docker:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
- Clone the repository: `git clone https://github.com/developmentseed/eoAPI.git`
4040
- Navigate to the project: `cd eoAPI`
41-
- Run services with `docker-compose up`
41+
- Run services with `docker compose up`
4242
- Follow the [MAXAR open data demo](https://github.com/vincentsarago/MAXAR_opendata_to_pgstac) (or get inspired by the other [demos](./demo/)) to load some data into eoAPI
4343
- Check out the [Search Viewer](http://localhost:8081/index.html), and the API documentation ([STAC Metadata](http://localhost:8081/docs), [Raster Tiles](http://localhost:8082/docs), [Vector Tiles](http://localhost:8083/api.html))
4444

docs/src/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ hide:
5252

5353
See [service details](./services.md) for more information.
5454

55-
*Note: The documentation links referenced require lauching the application with `docker-compose` or another deployment*.
55+
*Note: The documentation links referenced require lauching the application with `docker compose` or another deployment*.
5656

5757
---
5858

5959
## Getting started
6060

6161
- Clone the repository: `git clone https://github.com/developmentseed/eoAPI.git`
6262
- Navigate to the project: `cd eoAPI`
63-
- Run services with `docker-compose up`
63+
- Run services with `docker compose up`
6464
- Follow the [MAXAR open data demo](https://github.com/vincentsarago/MAXAR_opendata_to_pgstac) (or get inspired by the other [demos](./demo/)) to load some data into eoAPI
6565
- Checkout the [Search Viewer](http://localhost:8081/index.html), and the API documentation ([STAC Metadata](http://localhost:8081/docs), [Raster Tiles](http://localhost:8082/docs), [Vector Tiles](http://localhost:8083/api.html))
6666

docs/src/services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ A custom version of [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fas
1111

1212
The service includes:
1313

14-
- Full **stac-fastapi** implementation - see [docs](http://localhost:8081/docs) if using the `docker-compose` configuration.
14+
- Full **stac-fastapi** implementation - see [docs](http://localhost:8081/docs) if using the `docker compose` configuration.
1515

16-
- Simple STAC Search **viewer** - see [viewer](http://localhost:8081/index.html) if using the `docker-compose` configuration.
16+
- Simple STAC Search **viewer** - see [viewer](http://localhost:8081/index.html) if using the `docker compose` configuration.
1717

1818
- **Proxy** to the Tiler endpoint for STAC Items
1919

0 commit comments

Comments
 (0)