Skip to content

Add Docker and Docker Compose support for One-Click Startup#17

Open
FibreCase wants to merge 3 commits intocelesWuff:masterfrom
FibreCase:docker_support
Open

Add Docker and Docker Compose support for One-Click Startup#17
FibreCase wants to merge 3 commits intocelesWuff:masterfrom
FibreCase:docker_support

Conversation

@FibreCase
Copy link
Copy Markdown

This pull request introduces Docker support for the project, including a Dockerfile, a .dockerignore file, and a docker-compose.yaml file. It also updates the README.md to include instructions for deploying the project using Docker. These changes aim to simplify deployment and improve project portability.

Docker Support

  • Added a .dockerignore file to exclude unnecessary files (e.g., .git, node_modules, logs, temporary files, and IDE configurations) from the Docker build context.
  • Created a Dockerfile to define the Docker image, using Node.js 20 as the base image, installing dependencies with pnpm, and exposing port 3000 for the application.
  • Added a docker-compose.yaml file to define a Docker Compose service for the project, including volume mapping for config.ts and customizable port settings.

Documentation Updates

  • Updated the README.md to include a new section with step-by-step instructions for deploying the project using Docker Compose.

Deployment Verification

  • After adding Docker support, the deployment process has become simpler and more convenient. I have tested it on my arm64 server and it works successfully.

@FibreCase FibreCase force-pushed the docker_support branch 2 times, most recently from facf86a to 345aa40 Compare May 3, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant