{"id":16925902,"url":"https://github.com/davwheat/node-js-file-uploads-server-docker","last_synced_at":"2026-04-09T15:54:51.811Z","repository":{"id":104366528,"uuid":"415663670","full_name":"davwheat/node-js-file-uploads-server-docker","owner":"davwheat","description":"A Docker container for my Node.js file upload server.","archived":false,"fork":false,"pushed_at":"2023-12-22T01:11:07.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T11:44:20.188Z","etag":null,"topics":["docker","docker-compose","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/davwheat/node-js-file-uploads-server","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davwheat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-10T18:09:10.000Z","updated_at":"2025-05-25T12:02:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3ff3ad9-ed72-4343-8a4d-3b1c618315a4","html_url":"https://github.com/davwheat/node-js-file-uploads-server-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davwheat/node-js-file-uploads-server-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fnode-js-file-uploads-server-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fnode-js-file-uploads-server-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fnode-js-file-uploads-server-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fnode-js-file-uploads-server-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davwheat","download_url":"https://codeload.github.com/davwheat/node-js-file-uploads-server-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fnode-js-file-uploads-server-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264705638,"owners_count":23652162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","typescript"],"created_at":"2024-10-13T20:11:53.603Z","updated_at":"2025-12-30T20:06:41.949Z","avatar_url":"https://github.com/davwheat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node File Uploads Server - Docker Container\r\n\r\nThis is a Docker setup for my [Node File Uploads Server](https://github.com/davwheat/node-js-file-uploads-server).\r\n\r\n## Setup\r\n\r\n1. Clone this repository\r\n2. Edit the `env.jsonc` as needed\r\n3. `docker-compose up -d`\r\n4. Server should be accessible on port 4749\r\n\r\n## Introduction\r\n\r\nThis container takes away almost all the effort required to deploy this uploads server to a device. I personally use this container on my Raspberry Pi.\r\n\r\nWhen starting the container, Docker will automatically pull the lastest Node 16 Docker image to use, as well as cloning the most up-to-date version of the uploads server. Subsequent runs will only call `git pull` instead of performing a full clone. Dependencies are automatically installed using Yarn within the container.\r\n\r\nThe `uploads` folder in this directory will be added as a Docker volume and mounted within the container at `/usr/uploads`. Compared to a normal hosting setup, this reduces the risks (but does not eliminate) of access to files outside the uploads folder.\r\n\r\nThe `env.jsonc` and `auth.json` are linked to the container bi-directionally, meaning that changes to these files will be synced between the host system and the container. Note that modifying the `env.jsonc` **does** require a restart of the container (`docker-compose restart`) due to caching.\r\n\r\n## Editing configuration\r\n\r\nWhen you edit your server configuration, you need to restart the Docker container for the changes to take effect.\r\n\r\nA simple `docker-compose restart` should recreate the container if it's already running.\r\n\r\n## Updating the server\r\n\r\nThe uploads server should automatically update when restarted, due to the [custom entrypoint file](docker-entrypoint.sh) used for the container.\r\n\r\nIf it doesn't, you can force a rebuild and update with the `restart-uncached.sh` script in the repo root.\r\n\r\n## FAQs\r\n\r\n### Using another port\r\n\r\nThe default port of `4749` has no significance and can be easily changed.\r\n\r\n**Do not edit the port in the `env.jsonc`!** Instead, change the port in the `docker-compose.yml`.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavwheat%2Fnode-js-file-uploads-server-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavwheat%2Fnode-js-file-uploads-server-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavwheat%2Fnode-js-file-uploads-server-docker/lists"}