Merge pull request #1933 from tooomm/patch-3

docker - tweaks and link to wiki
This commit is contained in:
ctrlaltca 2016-04-11 19:46:49 +02:00
commit 6f84f921f3

View file

@ -95,19 +95,21 @@ The following flags can be passed to `cmake`:
#### Servatrice Docker container #### Servatrice Docker container
A Dockerfile is provided to run Servatrice (the Cockatrice server) using [Docker](https://www.docker.com/what-docker). A Dockerfile is provided to run Servatrice (the Cockatrice server) using [Docker](https://www.docker.com/what-docker).<br>
You just need to create an image from the Dockerfile
`docker build -t servatrice .` You just need to create an image from the Dockerfile<br>
And then run it `docker build -t servatrice .`<br>
`docker run -i -p 4747:4747/tcp -t servatrice:latest` And then run it<br>
Please note that running this command will expose the TCP port 4747 of the docker container to permit connections to the server. `docker run -i -p 4747:4747/tcp -t servatrice:latest`<br>
<br>
Please note that running this command will expose the TCP port 4747 of the docker container to permit connections to the server.<br>
More infos on how to use Servatrice with Docker can be found in our [wiki](https://github.com/Cockatrice/Cockatrice/wiki/Setting-up-Servatrice#using-docker).
# Running # Running
`oracle` fetches card data
`cockatrice` is the game client `cockatrice` is the game client
`oracle` fetches card data
`servatrice` is the server<br> `servatrice` is the server<br>