Initial commit
This commit is contained in:
commit
9b61c4d052
7
Dockerfile
Normal file
7
Dockerfile
Normal 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
27
docker-compose.yml
Normal 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:
|
Loading…
Reference in a new issue