maj docker-compose du pad et ajoute build.sh
This commit is contained in:
1 parent
440cf54085
commit
26568c7a29
3 files changed
+6
-5
No files matched your search
@@ -1,6 +1,5 @@
|
|||||||
FROM etherpad/etherpad:3.3.22
|
FROM etherpad/etherpad:3.3.22
|
||||||
|
|
||||||
#ARG ETHERPAD_PLUGINS="ep_adminpads3 ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_heading_plugin ep_headings2 ep_plugin_helpers ep_subscript_and_superscript"
|
ARG ETHERPAD_PLUGINS="ep_adminpads3 ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_heading_plugin ep_headings2 ep_plugin_helpers ep_subscript_and_superscript"
|
||||||
ARG ETHERPAD_PLUGINS="ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_headings2 ep_plugin_helpers ep_subscript_and_superscript"
|
|
||||||
|
|
||||||
RUN pnpm run plugins install ${ETHERPAD_PLUGINS}
|
RUN pnpm run plugins install ${ETHERPAD_PLUGINS}
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
docker compose build --no-cache --pull pad
|
||||||
|
docker compose up -d --force-recreate pad
|
||||||
@@ -1,12 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
pad:
|
pad:
|
||||||
image: kaz/etherpad:3.3.22-plugins
|
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
|
||||||
ETHERPAD_PLUGINS: "ep_adminpads3 ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_heading_plugin ep_headings2 ep_plugin_helpers ep_subscript_and_superscript"
|
|
||||||
container_name: ${etherpadServName}
|
container_name: ${etherpadServName}
|
||||||
restart: ${restartPolicy}
|
restart: ${restartPolicy}
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in new issue
Block a user