Skip to content

Commit

Permalink
Merge pull request #2201 from donatj/patch-1
Browse files Browse the repository at this point in the history
Improve Docker "Persisting Data" Section
  • Loading branch information
slingamn authored Dec 19, 2024
2 parents 1bdc45e + 38862b0 commit 375079e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distrib/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ For example, to create a new docker volume and then mount it:

```shell
docker volume create ergo-data
docker run --init -d -v ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable
docker run --init --name ergo -d -v ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable
```

Or to mount a folder from your host machine:

```shell
mkdir ergo-data
docker run --init -d -v $(PWD)/ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable
docker run --init --name ergo -d -v $(pwd)/ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable
```

## Customising the config
Expand Down

0 comments on commit 375079e

Please sign in to comment.