Skip to content
Snippets Groups Projects
Verified Commit 8da72260 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Fix permissions and remove non-working plugins

parent 86ba2194
No related branches found
No related tags found
1 merge request!44Optimize CI and remove deployment steps, add Mattermost and update Etherpad
Pipeline #51403 passed
......@@ -10,7 +10,7 @@ FROM base as downloader
ARG ETHERPAD_VERSION_BUILD=1.8.0
ARG ETHERPAD_LANDING_PAGE_VERSION_BUILD=v0.1
ARG ETHERPAD_PLUGINS="\
ep_align ep_author_hover ep_author_neat ep_chatdate ep_colibris_full_width \
ep_align ep_author_hover ep_chatdate ep_colibris_full_width \
ep_comments_page ep_countable ep_delete_empty_pads ep_font_color \
ep_font_family ep_headings2 ep_markdown ep_pad_activity_nofication_in_title \
ep_pads_stats ep_page_view ep_prompt_for_name ep_set_title_on_pad \
......@@ -25,10 +25,8 @@ RUN apt-get update && \
pkg-config \
python \
unzip && \
mkdir -p /opt/etherpad-lite && \
chown -R node /opt/etherpad-lite
mkdir -p /opt/etherpad-lite
USER node
WORKDIR /opt/etherpad-lite
RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION_BUILD}.zip > etherpad.zip && \
unzip etherpad && \
......@@ -61,8 +59,8 @@ COPY --from=downloader --chown=etherpad /opt/etherpad-lite /opt/etherpad-lite/
RUN apt-get update && \
apt-get install -y default-mysql-client && \
chmod +x /opt/etherpad-lite/entrypoint.sh && \
chown -R etherpad /opt/etherpad-lite && \
usermod -d /opt/etherpad-lite etherpad && \
chown -R etherpad /opt/etherpad-lite && \
rm -rf /var/lib/apt/lists/*
EXPOSE 8080
......
......@@ -27,6 +27,7 @@ services:
volumes:
- ./settings.json:/opt/etherpad-lite/settings.json
labels:
traefik.enable: true
traefik.frontend.rule: "Host:pad.picasoft.net"
traefik.port: 8080
environment:
......
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