Skip to content

Commit

Permalink
No such command "docker compose"; replaced with "docker-compose". Als…
Browse files Browse the repository at this point in the history
…o, no need for "docker compose run -it, docker-compose run automatically attaches to the running terminal.
  • Loading branch information
klaribot committed Jun 2, 2022
1 parent 671f111 commit 32009ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ You can control who has access to a Sync Server by editing its `allowed-users.tx

- [Install docker](https://docs.docker.com/get-docker/)
- clone code
- Build the container: `docker compose build map-sync`
- Build the container: `docker-compose build map-sync`
- Wait
- To run server with interactive prompt: `docker compose run -it --rm -p 12312:12312 map-sync`
- To run server with interactive prompt: `docker-compose run --rm -p 12312:12312 map-sync`
- To stop interactive prompt: hit ctrl-c
- To run server headless: `docker compose up map-sync -d`
- To stop headless server: `docker compose down map-sync`
- To run server headless: `docker-compose up map-sync -d`
- To stop headless server: `docker-compose down map-sync`
</details>

<details>
Expand Down

0 comments on commit 32009ed

Please sign in to comment.