- Clone recursively this repo:
-
$ git clone --recursive git@github.com:jcbalmeida/rapidpro-docker-compose.git
-
$ cd rapidpro-docker-compose
-
- (Optional) If already cloned without the
--recursive
flag, can be updated with:-
$ git submodule update --init --recursive
-
- Copy
setting.py.dev
-
$ cp src/rapidpro/temba/settings.py.dev src/rapidpro/temba/settings.py
-
- Install NPM Modules
-
$ cd src/rapidpro
-
$ npm install
-
- Update connections from local to Docker config, in file:
src/rapidpro/temba/settings_common.py
- Redis:
- Update the constant
REDIS_HOST
value to "redis" REDIS_HOST = "redis"
- Update the constant
- PostgreSQL:
- Update the
_default_database_config
value, updating the keyhost
from "localhost" to "db" -
_default_database_config = { # [...] "HOST": "db", # [...] }
- Update the
- Redis:
-
Notifications
You must be signed in to change notification settings - Fork 0
An attempt do run rapidpro entire stack locally with Docker Compose
License
jcbalmeida/rapidpro-docker-compose
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An attempt do run rapidpro entire stack locally with Docker Compose
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published