Skip to content

Commit

Permalink
Merge pull request #120 from charalamm/Use-new-docker-compose-syntax
Browse files Browse the repository at this point in the history
Use docker compose instead of docker-compose
  • Loading branch information
vincentsarago authored Aug 4, 2023
2 parents d36b50f + 41fd310 commit 6d54655
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
pre-commit run --all-files
- name: Launch services
run: docker-compose up -d stac raster vector
run: docker compose up -d stac raster vector

- name: install lib postgres
run: |
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
# see https://github.com/developmentseed/tipg/issues/37
- name: Restart the Vector service
run: |
docker-compose stop vector
docker-compose up -d vector
docker compose stop vector
docker compose up -d vector
- name: Sleep for 10 seconds
run: sleep 10s
Expand All @@ -78,7 +78,7 @@ jobs:
run: python -m pytest .github/workflows/tests/

- name: Stop services
run: docker-compose stop
run: docker compose stop


publish-docker:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

- Clone the repository: `git clone https://github.com/developmentseed/eoAPI.git`
- Navigate to the project: `cd eoAPI`
- Run services with `docker-compose up`
- Run services with `docker compose up`
- 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
- 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))

Expand Down
4 changes: 2 additions & 2 deletions docs/src/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ hide:

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

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

---

## Getting started

- Clone the repository: `git clone https://github.com/developmentseed/eoAPI.git`
- Navigate to the project: `cd eoAPI`
- Run services with `docker-compose up`
- Run services with `docker compose up`
- 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
- 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))

Expand Down
4 changes: 2 additions & 2 deletions docs/src/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ A custom version of [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fas

The service includes:

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

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

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

Expand Down

0 comments on commit 6d54655

Please sign in to comment.