Skip to content

Commit bf4e41a

Browse files
Merge pull request #30 from tushar5526/central-gp
2 parents 4023796 + 4e25329 commit bf4e41a

File tree

4 files changed

+13
-47
lines changed

4 files changed

+13
-47
lines changed

.env

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ ES_JAVA_OPTS="-Xms512m -Xmx512m"
66
FUSIONAUTH_APP_MEMORY=512M
77

88
MINIO_USERNAME=workflow-dev
9-
MINIO_PASSWORD=workflow-dev
9+
MINIO_PASSWORD=workflow-dev
10+
11+
# central envs
12+
CENTRAL_USER_EMAIL=chakshu@samagragovernance.in
13+
CENTRAL_USER_PASS=StrongPassword@1234

central-config/cli.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

docker-compose.gitpod.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ services:
7575
networks:
7676
- db_net
7777
- search_net
78+
- default
7879
restart: unless-stopped
7980
ports:
8081
- 9011:9011
@@ -137,15 +138,16 @@ services:
137138
volumes:
138139
- ./mnt/cqube_bucket/minio:/data
139140
environment:
140-
MINIO_ROOT_USER: cqube-dev
141-
MINIO_ROOT_PASSWORD: cqubeDevPassTibil
141+
MINIO_ROOT_USER: ${MINIO_USERNAME}
142+
MINIO_ROOT_PASSWORD: ${MINIO_PASSWORD}
142143
command: server --console-address ":9001" /data
143144

144145
networks:
145146
db_net:
146147
driver: bridge
147148
search_net:
148149
driver: bridge
150+
default:
149151

150152
volumes:
151153
db_data:

install-central.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ docker-compose up -d
1111

1212
sleep 30
1313

14-
docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-create
15-
docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-promote
14+
source ../.env
15+
16+
echo $CENTRAL_USER_PASS | docker compose exec -T service odk-cmd --email $CENTRAL_USER_EMAIL user-create
17+
docker compose exec service odk-cmd --email $CENTRAL_USER_EMAIL user-promote

0 commit comments

Comments
 (0)