Need help with moolah?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

arecker
200 Stars 19 Forks GNU General Public License v3.0 217 Commits 3 Opened issues

Description

Our civ inspired budget

Services available

!
?

Need anything else?

Contributors list

# 298,493
JavaScr...
Common ...
Shell
continu...
172 commits
# 200,884
iphone
otr
sqlciph...
bittorr...
1 commit
# 574,145
HTML
JavaScr...
Shell
1 commit

+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.