Closed UlyssesZh closed 1 month ago
Describe the bug
> etherpad@2.0.1 prod /opt/etherpad-lite > pnpm --filter ep_etherpad-lite run prod No projects matched the filters in "/opt/etherpad-lite"
To Reproduce
services: app: container_name: etherpad image: etherpad/etherpad tty: true stdin_open: true volumes: - ./src:/opt/etherpad-lite/src - ./bin:/opt/etherpad-lite/bin depends_on: - db 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:?} DB_PASS: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PASSWORD:?} DB_PORT: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PORT:-5432} DB_TYPE: "postgres" DB_USER: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_USER:?} DEFAULT_PAD_TEXT: ${DOCKER_COMPOSE_APP_DEV_ENV_DEFAULT_PAD_TEXT:- } DISABLE_IP_LOGGING: ${DOCKER_COMPOSE_APP_DEV_ENV_DISABLE_IP_LOGGING:-true} SOFFICE: ${DOCKER_COMPOSE_APP_DEV_ENV_SOFFICE:-null} TRUST_PROXY: ${DOCKER_COMPOSE_APP_DEV_ENV_TRUST_PROXY:-true} restart: unless-stopped ports: - "127.0.0.1:${DOCKER_COMPOSE_APP_DEV_PORT_PUBLISHED:-9001}:${DOCKER_COMPOSE_APP_DEV_PORT_TARGET:-9001}" db: container_name: etherpad-db image: postgres:15-alpine environment: POSTGRES_DB: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_DATABASE:?} POSTGRES_PASSWORD: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PASSWORD:?} POSTGRES_PORT: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PORT:-5432} POSTGRES_USER: ${DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_USER:?} PGDATA: /var/lib/postgresql/data/pgdata restart: unless-stopped volumes: - ./postgres_data:/var/lib/postgresql/data/pgdata
DOCKER_COMPOSE_APP_DEV_PORT_PUBLISHED=9001 DOCKER_COMPOSE_APP_DEV_PORT_TARGET=9001 DOCKER_COMPOSE_APP_DEV_ENV_DEFAULT_PAD_TEXT="Welcome to etherpad" DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD=testpassword DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_DATABASE=db DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PASSWORD=etherpad-lite-password DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_USER=etherpad-lite-user
Server (please complete the following information):
- Etherpad version: 2.0.1, official Docker image
- OS: Arch Linux
You didn't clone the repository and instead used the docker-compose directly. That way your src directory is empty and does not contain the programs required to run the application. Please try again with [git clone ](https://github.com/ether/etherpad-lite.git)
:)
I think I would just use src and bin from the image then (remove the volume mappings). Thank you!
Describe the bug
To Reproduce
Server (please complete the following information):