Uses volume absolute path, changes wording

This commit is contained in:
Arie 2022-06-27 10:52:37 +10:00
parent 0d43f2f60a
commit f5b9036a2a

View file

@ -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: