Skip to content

The Docker image for zxdong262/electerm-web should support uploading files from the host machine #25

@linghengqian

Description

@linghengqian
  • The Docker image for zxdong262/electerm-web should support uploading files from the host machine.
  • To be honest, I'm not entirely sure if this is a known limitation of https://github.com/electerm/electerm . I think I need to give an example. If I deploy https://github.com/dbeaver/cloudbeaver using the following command, I can actually upload the host machine's SQL file through the cloudbeaver web UI.
docker run --name cloudbeaver \
  -d \
  --restart unless-stopped \
  -v cloudbeaver-workspace:/opt/cloudbeaver/workspace \
  --network host \
  dbeaver/cloudbeaver:26.0.5
  • Image
  • In contrast, if I deploy zxdong262/electerm-web using the following command, I find that I can only upload files from within the Docker image.
docker run --init \
  --user root \
  -v electerm-web-data:/home/electerm/data \
  -e "DB_PATH=/home/electerm/data" \
  -e "HOST=0.0.0.0" \
  -e "SERVER_SECRET=some_server_secret" \
  -e "SERVER_PASS=password_to_login" \
  -e "ENABLE_AUTH=1" \
  -p 8082:5577 \
  --restart unless-stopped \
  -d \
  --name electerm-web-docker \
  zxdong262/electerm-web:4.12.0
  • Image
  • Could zxdong262/electerm-web provide a mechanism to upload files using the browser the user is using?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions