further refactoring

This commit is contained in:
Jannik Streek 2024-02-16 11:03:40 +01:00
parent d3573d1f54
commit 3ef07e5d91
4 changed files with 15 additions and 5 deletions

View file

@ -14,12 +14,14 @@ services:
tty: true
stdin_open: true
volumes:
- .:/opt/etherpad-lite
- ./src:/opt/etherpad-lite/src
- node_modules:/opt/etherpad-lite/src/node_modules
- pnpm-store:/opt/etherpad-lite/src/.pnpm-store
depends_on:
- postgres
environment:
NODE_ENV: development
ADMIN_PASSWORD: ${DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD}
DB_CHARSET: ${DOCKER_COMPOSE_APP_DEV_ENV_DB_CHARSET:-utf8mb4}
DB_HOST: postgres
DB_NAME: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_DATABASE:?}
@ -56,4 +58,5 @@ services:
volumes:
postgres_data:
node_modules:
node_modules:
pnpm-store: