Skip to content

How to set fsync=off #149

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
rarkins opened this issue Apr 25, 2016 · 3 comments
Closed

How to set fsync=off #149

rarkins opened this issue Apr 25, 2016 · 3 comments

Comments

@rarkins
Copy link

rarkins commented Apr 25, 2016

Sorry for the simple question, hopefully the answer is also simple.

If I want to use the standard PG 9.5 image but the only thing I want to change is to set fsync=off, how/where should I configure that?

I'm hoping there's a way to do this without completely recreating the entrypoint or conf files.

@ImreSamu
Copy link
Contributor

I want to change is to set fsync=off, how/where should I configure that?

I think it is similar solution than the -c shared_buffers=256MB example here :
#54 (comment)

@rarkins
Copy link
Author

rarkins commented Apr 29, 2016

Thanks, that works. For docker-compose, you can simply add this to the command: line, e.g. command: -c fsync=off

@rarkins rarkins closed this as completed Apr 29, 2016
@simplenotezy
Copy link

@rarkins Awesome, thanks for sharing. Know about a way to do something similar with github actions?

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

3 participants