-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docker): Quickstart app with docker #135
Conversation
I seem to be running into an error while testing these changes.
I believe that instead of going for this, we can potentially try to release an official docker image - rather than the user building it themselves. We can leave the docker-compose as an example for the user to use while deploying on their own environment. @kevinanielsen, is this something that you would like to have? I could work on a pipeline to get official images for this project. |
I have just fixed it. You can try now. I forgot to copy the ui build into the build process of go. |
Thanks, looks good for me |
I have submitted a new pr. Docker is working now. I have just learned
github actions. I can help to create a pipeline.
… Message ID: ***@***.***>
|
I have removed previous pr. I had included both docs and features in that.
Now, I have separated both of them, and created separate PRs for both of
them. You can have a look.
…On Tue, 23 Jul 2024 at 20:31, Amrit Upreti ***@***.***> wrote:
I have submitted a new pr. Docker is working now. I have just learned
github actions. I can help to create a pipeline.
> Message ID: ***@***.***>
>
|
This PR adds a Dockerfile and docker-compose.yml to containerize the application. The Dockerfile sets up multi-stage builds for the front-end and back-end, while docker-compose.yml orchestrates container deployment with persistent storage for uploaded files and database data.
Key Changes:
Dockerfile: Multi-stage build for Node.js and Go applications.
docker-compose.yml: Manages service orchestration and persistence.
Instructions:
Build the Docker image:
docker build -t my-app .
Start the application:
docker-compose up -d
Please review and provide feedback.