Aardwolf-Social / aardwolf

Powering connected social communities with open software.
GNU Affero General Public License v3.0
479 stars 40 forks source link

Added initial Docker configuration #232

Closed Chickensoupwithrice closed 3 years ago

Chickensoupwithrice commented 3 years ago

I created an initial configuration for using docker with Aardwolf. I've also added a small readme in the doc/ directory on how to use it.

Currently there's only 1 container that does both building and running of Aardwolf. I'm still working out how to run the Aardwolf static binary without cargo so that we can de-couple these two features. (Help appreciated!)

By default the docker-compose file also contains a postgres container that also gets initialized through docker-compose. It runs on port 5431 instead of 5432 so it doesn't get in the way of postgres running on the host system.

I imagine there will be some back and forth on this PR before we get it merged so I thought I'd get it started now :)