Uses volume absolute path, changes wording
This commit is contained in:
parent
0d43f2f60a
commit
f5b9036a2a
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ cd microbin
|
||||||
docker build -t microbin-docker .
|
docker build -t microbin-docker .
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, for `docker compose` you can do the following:
|
Then, for `docker compose` you can repurpose the following example in your compose file:
|
||||||
|
|
||||||
```
|
```
|
||||||
services:
|
services:
|
||||||
|
@ -138,7 +138,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "80:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./microbin-data:./pasta_data
|
- ./microbin-data:/usr/local/bin/pasta_data
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** If you are getting the following error about domain name resolution:
|
**Note:** If you are getting the following error about domain name resolution:
|
||||||
|
|
Loading…
Reference in a new issue