GMOD / docker-apollo

:whale: Apollo 2.X Docker Image
GNU General Public License v3.0
10 stars 12 forks source link

create and init postgresql data if needed #25

Closed wezen closed 6 years ago

wezen commented 6 years ago

create postgresql directory and init database when you want persistent database

nathandunn commented 6 years ago

I think this is fine. I'm a little bit worried about pinning the version to 9.6, but I guess the image should be pretty stable based on the version of ubuntu. If you could pin it to 9.6 that would be great, though.

I can test in a little bit.

nathandunn commented 6 years ago

@wezen I just double-checked, it looked like the image is using Debian Stretch (9.1), which pins it to postgresql 9.6. https://packages.debian.org/stable/database/

I'll test what you have to just to provide a second set of eyes, but checking through it all looked great. Thanks for the addition.