Update Docker deployment examples in the README
This commit is contained in:
parent
d6f8e2cbcf
commit
091bb8ac4e
@ -48,7 +48,7 @@ POST /check
|
|||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d -p 7500:7500 -v "$(pwd)/data:/usr/local/app" git.rainnny.club/rainnny/licenseserver:latest
|
docker run -d -p 7500:7500 -v "$(pwd)/data/application.yml:/usr/local/app/application.yml" git.rainnny.club/rainnny/licenseserver:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker Compose
|
### Docker Compose
|
||||||
@ -59,7 +59,7 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: git.rainnny.club/rainnny/licenseserver:latest
|
image: git.rainnny.club/rainnny/licenseserver:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/usr/local/app
|
- ./data/application.yml:/usr/local/app/application.yml
|
||||||
ports:
|
ports:
|
||||||
- "7500:7500"
|
- "7500:7500"
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user