Update README.md

This commit is contained in:
Nicco 2019-05-08 11:52:37 +02:00 committed by GitHub
parent 6296d6de48
commit 0e6ea0c022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 2 deletions

View File

@ -1,2 +1,29 @@
# docker-etherpad
Etherpad docker image
# Etherpad Docker
Etherpad docker image with docker-compose support.
## Quickstart 💥
```bash
docker-compose up -d
```
## Setup 🏗
```bash
git clone https://github.com/CupCakeArmy/docker-etherpad
cd docker-etherpad
# Modify settings
vim settings.json
# Run
docker-compose up -d
```
### (Default) Persist the DB 💽
By default the DB is persisted into `dirty.db`.
To start with a clean state you need to delete the `dirty.db` file.
Either run `rm dirty.db; touch dirty.db` or `cat /dev/null > dirty.db`.
docker-compose requires that the file exists, otherwise it will mount it as a folder.