Initial commit

This commit is contained in:
Jesper Hess 2018-06-18 18:27:00 +02:00
commit 9b61c4d052
Signed by: graffen
GPG key ID: 351A89E40D763F0F
2 changed files with 34 additions and 0 deletions

7
Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM tvelocity/etherpad-lite:latest
# Install custom plugins
RUN npm install \
ep_headings2 \
ep_print \
ep_markdown

27
docker-compose.yml Normal file
View file

@ -0,0 +1,27 @@
version: '3'
services:
etherpad:
build:
context: .
dockerfile: Dockerfile
environment:
ETHERPAD_ADMIN_PASSWORD: password
ETHERPAD_ADMIN_USER:
ETHERPAD_DB_HOST: db
ETHERPAD_DB_PASSWORD: etherpad
ETHERPAD_DB_USER: etherpad
ports:
- 9001:9001
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: etherpad
MYSQL_PASSWORD: etherpad
MYSQL_USER: etherpad
volumes:
- mysql-data:/var/lib/mysql
volumes:
mysql-data: