mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 11:59:40 +01:00
Fix ports in the docker instructions
-P/--publish-all publishes the container ports on a random host port, which you have to look up using `docker port`. In the common case they should be published on the same ports.
This commit is contained in:
parent
8228cb4b0d
commit
69e1dea224
@ -19,7 +19,7 @@ certificates. To get a working ircd, all you need to do is run the image and
|
|||||||
expose the ports:
|
expose the ports:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --name oragono -d -P oragono/oragono:tag
|
docker run --name oragono -d -p 6667:6667 -p 6697:6697 oragono/oragono:tag
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start Oragono and listen on ports 6667 (plain text) and 6697 (TLS).
|
This will start Oragono and listen on ports 6667 (plain text) and 6697 (TLS).
|
||||||
@ -49,14 +49,14 @@ For example, to create a new docker volume and then mount it:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker volume create oragono-data
|
docker volume create oragono-data
|
||||||
docker run -d -v oragono-data:/ircd -P oragono/oragono:tag
|
docker run -d -v oragono-data:/ircd -p 6667:6667 -p 6697:6697 oragono/oragono:tag
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to mount a folder from your host machine:
|
Or to mount a folder from your host machine:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir oragono-data
|
mkdir oragono-data
|
||||||
docker run -d -v $(PWD)/oragono-data:/ircd -P oragono/oragono:tag
|
docker run -d -v $(PWD)/oragono-data:/ircd -p 6667:6667 -p 6697:6697 oragono/oragono:tag
|
||||||
```
|
```
|
||||||
|
|
||||||
## Customising the config
|
## Customising the config
|
||||||
|
Loading…
Reference in New Issue
Block a user