Skip to content
Snippets Groups Projects
Commit 2fea8fdc authored by Jens Sandmann's avatar Jens Sandmann
Browse files

Remove etherpad

parent d2b909b7
No related branches found
No related tags found
No related merge requests found
---
- name: create folder struct for etherpad
file:
path: "/srv/etherpad/"
state: "directory"
- name: Konfig-Datei erstellen
template:
src: "docker-compose.yml"
dest: "/srv/etherpad/docker-compose.yml"
- name: start etherpad docker
docker_service:
project_src: /srv/etherpad/
state: present
version: "3"
services:
mysql:
image: mysql:5.7
restart: always
volumes:
- /srv/etherpad/:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: warpzone
app:
image: tvelocity/etherpad-lite:latest
restart: always
depends_on:
- mysql
ports:
- 127.0.0.1:42003:42003
environment:
ETHERPAD_TITLE: warpzone Etherpad Lite
ETHERPAD_PORT: 42003
ETHERPAD_DB_USER: root
ETHERPAD_DB_PASSWORD: warpzone
MYSQL_PORT: 3306
MYSQL_PORT_3306_TCP: tcp://mysql:3306
MYSQL_PORT_3306_TCP_ADDR: mysql
MYSQL_PORT_3306_TCP_PORT: 3306
MYSQL_PORT_3306_TCP_PORT: tcp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment