-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add Dockerfile and example docker-compose.yml #86
base: main
Are you sure you want to change the base?
Conversation
defvs
commented
Dec 16, 2024
- Add a Dockerfile to build and deploy the app using Node 18
- Add a GitHub Action to automatically build and deploy to ghcr.io
- Add an example docker-compose.yml for the end-user, that also includes MongoDB.
|
||
services: | ||
brainzbot: | ||
image: ghcr.io/defvs/brainzbot:main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure you modify this before or after merging.
.github/workflows/docker-publish.yml
Outdated
|
||
on: | ||
schedule: | ||
- cron: '25 14 * * *' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you do a push every day? Shouldn't it be per release only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it probably should. I just kept the standard Action and didn't modify it.