Skip to content

Commit 2cebe32

Browse files
authored
Merge pull request #96 from Scalingo/docs/readme/docker_compose
build(docker-compose): remove deprecated version field
2 parents 4f6ab0d + 941af62 commit 2cebe32

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ semver.scalingo.com is a plaintext and JSON webservice that tracks all available
1313
- [yarn](/yarn/versions)
1414

1515
It also supports Scalingo Stacks for `nginx`, `php` and `composer`:
16-
- [nginx-scalingo-18](/nginx-scalingo-18/versions)
17-
- [nginx-scalingo-20](/nginx-scalingo-20/versions)
18-
- [php-scalingo-18](/php-scalingo-18/versions)
19-
- [php-scalingo-20](/php-scalingo-20/versions)
20-
- [composer-scalingo-18](/composer-scalingo-18/versions)
21-
- [composer-scalingo-20](/composer-scalingo-20/versions)
16+
- Nginx: `/nginx-${stack}/versions`
17+
- PHP: `/php-${stack}/versions`
18+
- Composer: `/composer-${stack}/versions`
2219

2320
It uses that version info to resolve
2421
[semver range queries](https://docs.npmjs.com/about-semantic-versioning).
@@ -103,11 +100,11 @@ These named routes are also provided for convenience (for each source):
103100
### Install project dependencies
104101

105102
```shell
106-
docker-compose run --rm web yarn install
103+
docker compose run --rm web yarn install
107104
```
108105

109106
### Run the service
110107

111108
```shell
112-
docker-compose up
109+
docker compose up
113110
```

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42
web:
53
image: "node:16"

0 commit comments

Comments
 (0)