mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Add var volume to Docker Compose file (#6331)
required to make installed plugins persistent over container recreation
This commit is contained in:
parent
c8d335d256
commit
5dff5b7ed9
1 changed files with 1 additions and 2 deletions
|
@ -278,8 +278,6 @@ docker run -d \
|
||||||
## Ready to use Docker Compose
|
## Ready to use Docker Compose
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3.8"
|
|
||||||
|
|
||||||
# Add this file to extend the docker-compose setup, e.g.:
|
# Add this file to extend the docker-compose setup, e.g.:
|
||||||
# docker-compose build --no-cache
|
# docker-compose build --no-cache
|
||||||
# docker-compose up -d --build --force-recreate
|
# docker-compose up -d --build --force-recreate
|
||||||
|
@ -293,6 +291,7 @@ services:
|
||||||
# no volume mapping of node_modules as otherwise the build-time installed plugins will be overwritten with the mount
|
# no volume mapping of node_modules as otherwise the build-time installed plugins will be overwritten with the mount
|
||||||
# the same applies to package.json and pnpm-lock.yaml in root dir as these would also get overwritten and build time installed plugins will be removed
|
# the same applies to package.json and pnpm-lock.yaml in root dir as these would also get overwritten and build time installed plugins will be removed
|
||||||
- ./plugins:/opt/etherpad-lite/src/plugin-packages
|
- ./plugins:/opt/etherpad-lite/src/plugin-packages
|
||||||
|
- ./var:/opt/etherpad-lite/var
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue