Skip to content

Using it with docker #299

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

Closed
apprithm opened this issue Oct 17, 2018 · 5 comments
Closed

Using it with docker #299

apprithm opened this issue Oct 17, 2018 · 5 comments

Comments

@apprithm
Copy link

Hi tang,

Im trying to use it with docker and ship the river file in the image.

When I make a change in the river file, I need to generate a new image and deploy it to the server. I assume that will cause the /var/master.info in the previous container will be reinitialized right ? And then duplicate data will dump in to elastic search.
Whats the best practice for handling this issue? Can I have the master.info seats outside of the container( like S3)?

Please correct me if Im wrong :)

@siddontang
Copy link
Collaborator

Hello @apprithm

I haven't used it in docker. maybe we can mount the var outside docker so every docker can use it?

@apprithm
Copy link
Author

@apprithm Yes, If we have the control of the host machine, that will be a solution. But Im thinking about deploying it to beanstalk for now.

@siddontang
Copy link
Collaborator

@apprithm another solution may saving to the remote storage, like etcd, like #253

@siddontang
Copy link
Collaborator

but this PR has not been updated for a long time, can you improve it?

@apprithm
Copy link
Author

I will take a look. Thanks for pointing it out !

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

No branches or pull requests

2 participants