Update README.md#21
Conversation
Changes: 1. Add a missing dash at step 5 2. Modified step 4 ports to `- "8080:8080"` from `- HOST_PORT:8080` because docker-compose was marking it as invalid type
| backend: | ||
| ports: | ||
| - HOST_PORT:8080 | ||
| - "8080:8080" |
There was a problem hiding this comment.
the intent was that you define your own host port here, not copy and paste it literally, but it could be expressed better
There was a problem hiding this comment.
Idk, for me it thrown error
There was a problem hiding this comment.
probably because you copied and pasted it literally, which you aren't meant to do.
| - "8080:8080" | ||
| ``` | ||
| 5. `docker compose up -d` | ||
| 5. `docker-compose up -d` |
There was a problem hiding this comment.
docker compose is correct, if it's not available you need to update your docker
There was a problem hiding this comment.
I have the latest docker version but when I run without the dash it outputs the docker help docs
There was a problem hiding this comment.
There was a problem hiding this comment.
I don't use the desktop version tho. I run my stuff on a remote server
When I also try to run sudo apt-get install docker-compose-plugin I get E: Unable to locate package docker-compose-plugin
There was a problem hiding this comment.
I guess it just doesn't work with my setup
There was a problem hiding this comment.
With Ubuntu server at least it works could be your package list is outdated or isn't on your version for me personally I use both v1 and v2 as I'm lasy asf and have the docker-compose up -d saved
Changes:
- "8080:8080"from- HOST_PORT:8080because docker-compose was throwing error saying it's an invalid type