mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fixed docker-compose. (#6326)
This commit is contained in:
parent
0dae198949
commit
d99c100a77
1 changed files with 3 additions and 9 deletions
|
@ -286,24 +286,18 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
image: etherpad/etherpad:latest
|
||||||
context: .
|
|
||||||
args:
|
|
||||||
ETHERPAD_PLUGINS:
|
|
||||||
# change from development to production if needed
|
|
||||||
target: development
|
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
volumes:
|
volumes:
|
||||||
# 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
|
||||||
- ./src:/opt/etherpad-lite/src
|
- ./plugins:/opt/etherpad-lite/src/plugin-packages
|
||||||
- ./bin:/opt/etherpad-lite/bin
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
environment:
|
environment:
|
||||||
# change from development to production if needed
|
# change from development to production if needed
|
||||||
NODE_ENV: development
|
NODE_ENV: production
|
||||||
ADMIN_PASSWORD: ${DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD}
|
ADMIN_PASSWORD: ${DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD}
|
||||||
DB_CHARSET: ${DOCKER_COMPOSE_APP_DEV_ENV_DB_CHARSET:-utf8mb4}
|
DB_CHARSET: ${DOCKER_COMPOSE_APP_DEV_ENV_DB_CHARSET:-utf8mb4}
|
||||||
DB_HOST: postgres
|
DB_HOST: postgres
|
||||||
|
|
Loading…
Reference in a new issue