moolah

by arecker

arecker / moolah

Our civ inspired budget

200 Stars 20 Forks Last release: Not found GNU General Public License v3.0 217 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

+TITLE: Moolah

+STARTUP: indent

  • Docker

First, fill out the =header-args= of this section to taste. Next, start a postgres and redis container.

+BEGIN_SRC sh

docker run \ --name moolah-db \ -e POSTGRESPASSWORD="$MOOLAHDB_PASS" \ -d postgres docker run --name moolah-redis -d redis

+END_SRC

Start a celery container.

+BEGIN_SRC sh

docker run \ --name moolah-celery \ -e HOST="$MOOLAHHOST" \ -e DBPASS="$MOOLAHDBPASS" \ -e SECRETKEY="$MOOLAHSECRET_KEY" \ --link moolah-redis:redis \ --link moolah-db:db \ -d arecker/moolah:latest celery

+END_SRC

Start a gunicorn container. Be sure to expose its port.

+BEGIN_SRC sh

docker run \ --name moolah-gunicorn \ -e HOST="$MOOLAHHOST" \ -e DBPASS="$MOOLAHDBPASS" \ -e SECRETKEY="$MOOLAHSECRET_KEY" \ --link moolah-redis:redis \ --link moolah-db:db \ --expose 80 \ -d arecker/moolah:latest gunicorn

+END_SRC

Lastly, start a public [[https://github.com/arecker/django-proxy][nginx container]]

+BEGIN_SRC sh

docker run \ --name moolah-proxy \ --link moolah-gunicorn:app \ -v /your/static/root:/usr/share/nginx/html \ -d arecker/django-proxy:latest

+END_SRC

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.