|
|
|
|
@@ -39,7 +39,7 @@ services:
|
|
|
|
|
- 8546
|
|
|
|
|
- 30303
|
|
|
|
|
volumes:
|
|
|
|
|
- ./apps/bloxbergValidatorSetup/keys:/root/keys # stores the signing key locally
|
|
|
|
|
#- ./keys:/root/keys # stores the signing key locally
|
|
|
|
|
- bloxberg-data:/root/.local/share/io.parity.ethereum/
|
|
|
|
|
|
|
|
|
|
# See contents of /initdb/create_db.sql for app user, password and databases
|
|
|
|
|
@@ -166,6 +166,7 @@ services:
|
|
|
|
|
SIGNER_SOCKET_PATH: ${SIGNER_SOCKET_PATH:-/tmp/cic/signer/jsonrpc.ipc}
|
|
|
|
|
SIGNER_SECRET: ${SIGNER_SECRET:-deadbeef}
|
|
|
|
|
ETH_ACCOUNT_ACCOUNTS_INDEX_WRITER: ${DEV_ETH_ACCOUNT_ACCOUNTS_INDEX_WRITER:-0xACB0BC74E1686D62dE7DC6414C999EA60C09F0eA}
|
|
|
|
|
TASKS_TRACE_QUEUE_STATUS: ${TASKS_TRACE_QUEUE_STATUS:-1}
|
|
|
|
|
depends_on:
|
|
|
|
|
- eth
|
|
|
|
|
- postgres
|
|
|
|
|
@@ -304,7 +305,7 @@ services:
|
|
|
|
|
- -c
|
|
|
|
|
- |
|
|
|
|
|
if [[ -f /tmp/cic/config/.env ]]; then source /tmp/cic/config/.env; fi
|
|
|
|
|
./start_dispatcher.sh history -vv
|
|
|
|
|
./start_dispatcher.sh -q cic-eth -vv
|
|
|
|
|
# command: "/root/start_dispatcher.sh -q cic-eth -vv"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -332,6 +333,7 @@ services:
|
|
|
|
|
SIGNER_SOCKET_PATH: ${SIGNER_SOCKET_PATH:-/tmp/cic/signer/jsonrpc.ipc}
|
|
|
|
|
SIGNER_SECRET: ${SIGNER_SECRET:-deadbeef}
|
|
|
|
|
ETH_ACCOUNT_ACCOUNTS_INDEX_WRITER: ${DEV_ETH_ACCOUNT_ACCOUNTS_INDEX_WRITER:-0xACB0BC74E1686D62dE7DC6414C999EA60C09F0eA}
|
|
|
|
|
CIC_TX_RETRY_DELAY: ${CIC_TX_RETRY_DELAY:-30}
|
|
|
|
|
depends_on:
|
|
|
|
|
- eth
|
|
|
|
|
- postgres
|
|
|
|
|
@@ -346,7 +348,7 @@ services:
|
|
|
|
|
- -c
|
|
|
|
|
- |
|
|
|
|
|
if [[ -f /tmp/cic/config/.env ]]; then source /tmp/cic/config/.env; fi
|
|
|
|
|
./start_retry.sh history -vv
|
|
|
|
|
./start_retry.sh -vv
|
|
|
|
|
# command: "/root/start_retry.sh -q cic-eth -vv"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -453,49 +455,49 @@ services:
|
|
|
|
|
# - ${LOCAL_VOLUME_DIR:-/tmp/cic}/pgp:/tmp/cic/pgp
|
|
|
|
|
# command: "/root/start_server.sh -vv"
|
|
|
|
|
|
|
|
|
|
cic-ussd-server:
|
|
|
|
|
# image: grassrootseconomics:cic-ussd
|
|
|
|
|
build:
|
|
|
|
|
context: apps/
|
|
|
|
|
dockerfile: cic-ussd/docker/Dockerfile
|
|
|
|
|
environment:
|
|
|
|
|
DATABASE_USER: grassroots
|
|
|
|
|
DATABASE_HOST: postgres
|
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
|
DATABASE_PASSWORD: tralala
|
|
|
|
|
DATABASE_NAME: cic_ussd
|
|
|
|
|
DATABASE_ENGINE: postgresql
|
|
|
|
|
DATABASE_DRIVER: psycopg2
|
|
|
|
|
SERVER_PORT: 80
|
|
|
|
|
ports:
|
|
|
|
|
- 80:8082
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
- redis
|
|
|
|
|
deploy:
|
|
|
|
|
restart_policy:
|
|
|
|
|
condition: on-failure
|
|
|
|
|
command: "/root/start_uwsgi.sh"
|
|
|
|
|
|
|
|
|
|
cic-ussd-tasker:
|
|
|
|
|
# image: grassrootseconomics:cic-ussd
|
|
|
|
|
build:
|
|
|
|
|
context: apps
|
|
|
|
|
dockerfile: cic-ussd/docker/Dockerfile
|
|
|
|
|
environment:
|
|
|
|
|
DATABASE_USER: grassroots
|
|
|
|
|
DATABASE_HOST: postgres
|
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
|
DATABASE_PASSWORD: tralala
|
|
|
|
|
DATABASE_NAME: cic_ussd
|
|
|
|
|
DATABASE_ENGINE: postgresql
|
|
|
|
|
DATABASE_DRIVER: psycopg2
|
|
|
|
|
CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://redis}
|
|
|
|
|
CELERY_RESULT_URL: ${CELERY_BROKER_URL:-redis://redis}
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
- redis
|
|
|
|
|
deploy:
|
|
|
|
|
restart_policy:
|
|
|
|
|
condition: on-failure
|
|
|
|
|
command: "/root/start_tasker.sh -q cic-ussd"
|
|
|
|
|
# cic-ussd-server:
|
|
|
|
|
# # image: grassrootseconomics:cic-ussd
|
|
|
|
|
# build:
|
|
|
|
|
# context: apps/
|
|
|
|
|
# dockerfile: cic-ussd/docker/Dockerfile
|
|
|
|
|
# environment:
|
|
|
|
|
# DATABASE_USER: grassroots
|
|
|
|
|
# DATABASE_HOST: postgres
|
|
|
|
|
# DATABASE_PORT: 5432
|
|
|
|
|
# DATABASE_PASSWORD: tralala
|
|
|
|
|
# DATABASE_NAME: cic_ussd
|
|
|
|
|
# DATABASE_ENGINE: postgresql
|
|
|
|
|
# DATABASE_DRIVER: psycopg2
|
|
|
|
|
# SERVER_PORT: 80
|
|
|
|
|
# ports:
|
|
|
|
|
# - 80:8082
|
|
|
|
|
# depends_on:
|
|
|
|
|
# - postgres
|
|
|
|
|
# - redis
|
|
|
|
|
# deploy:
|
|
|
|
|
# restart_policy:
|
|
|
|
|
# condition: on-failure
|
|
|
|
|
# command: "/root/start_uwsgi.sh"
|
|
|
|
|
#
|
|
|
|
|
# cic-ussd-tasker:
|
|
|
|
|
# # image: grassrootseconomics:cic-ussd
|
|
|
|
|
# build:
|
|
|
|
|
# context: apps
|
|
|
|
|
# dockerfile: cic-ussd/docker/Dockerfile
|
|
|
|
|
# environment:
|
|
|
|
|
# DATABASE_USER: grassroots
|
|
|
|
|
# DATABASE_HOST: postgres
|
|
|
|
|
# DATABASE_PORT: 5432
|
|
|
|
|
# DATABASE_PASSWORD: tralala
|
|
|
|
|
# DATABASE_NAME: cic_ussd
|
|
|
|
|
# DATABASE_ENGINE: postgresql
|
|
|
|
|
# DATABASE_DRIVER: psycopg2
|
|
|
|
|
# CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://redis}
|
|
|
|
|
# CELERY_RESULT_URL: ${CELERY_BROKER_URL:-redis://redis}
|
|
|
|
|
# depends_on:
|
|
|
|
|
# - postgres
|
|
|
|
|
# - redis
|
|
|
|
|
# deploy:
|
|
|
|
|
# restart_policy:
|
|
|
|
|
# condition: on-failure
|
|
|
|
|
# command: "/root/start_tasker.sh -q cic-ussd"
|
|
|
|
|
|