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 initial docker support #8

Merged
merged 1 commit into from
Jul 20, 2018
Merged

Add initial docker support #8

merged 1 commit into from
Jul 20, 2018

Conversation

egyptianbman
Copy link
Member

I use docker for everything so this commit adds a couple of things to allow me to test changes to the code quickly:

  • Initial docker support
  • Initial pm2 support

I use docker for everything so this commit adds initial docker support
to allow me to test changes to the code quickly.
@egyptianbman egyptianbman self-assigned this Jul 19, 2018
@@ -0,0 +1,1953 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-lock.json needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's generally good practice to commit these as they lock in packages at versions you know they're working at. It also helps you know when packages have changed since it may not be apparent when you make updates.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot the most important reason for these -- they make npm install fast.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay great. Just wanted to know.

Copy link
Contributor

@GaryChicago GaryChicago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this docker support, adds redis image stores data in ../.redis/data within host filesystem.

/site is where z-nomp i am supposing gets stored to launch within the container.

Just want to make sure I'm following the pm2 and docker logic here.

Copy link
Contributor

@GaryChicago GaryChicago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a readme soon. Unless you want questons :).

@egyptianbman
Copy link
Member Author

I don't mind questions for now. It'll help us understand the best use-case and build that.

@egyptianbman egyptianbman merged commit 0155dc1 into master Jul 20, 2018
@egyptianbman egyptianbman deleted the feature/docker branch July 20, 2018 01:29
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