Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

defvs
Copy link

@defvs 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
Copy link
Author

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.


on:
schedule:
- cron: '25 14 * * *'

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?

Copy link
Author

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.

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.

2 participants