Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
e263cdd9
Commit
e263cdd9
authored
2 years ago
by
Tushar
Browse files
Options
Download
Patches
Plain Diff
Automate bucket creation in minio
parent
bf4e41af
main
dev
feat/centro
feature/formlistapi
fix/remove-forms
revert-67-contributeByGitpod
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env
+1
-0
.env
.gitpod.yml
+4
-0
.gitpod.yml
docker-compose.gitpod.yaml
+15
-1
docker-compose.gitpod.yaml
with
20 additions
and
1 deletion
+20
-1
.env
+
1
−
0
View file @
e263cdd9
...
@@ -7,6 +7,7 @@ FUSIONAUTH_APP_MEMORY=512M
...
@@ -7,6 +7,7 @@ FUSIONAUTH_APP_MEMORY=512M
MINIO_USERNAME=workflow-dev
MINIO_USERNAME=workflow-dev
MINIO_PASSWORD=workflow-dev
MINIO_PASSWORD=workflow-dev
MINIO_BUCKETNAME=affiliationbucket
# central envs
# central envs
CENTRAL_USER_EMAIL=chakshu@samagragovernance.in
CENTRAL_USER_EMAIL=chakshu@samagragovernance.in
...
...
This diff is collapsed.
Click to expand it.
.gitpod.yml
+
4
−
0
View file @
e263cdd9
...
@@ -29,7 +29,11 @@ tasks:
...
@@ -29,7 +29,11 @@ tasks:
openMode
:
tab-after
openMode
:
tab-after
init
:
|
init
:
|
gp sync-await setup
gp sync-await setup
source .env
cd packages/form-manager
cd packages/form-manager
echo "MINIO_USERNAME=$MINIO_USERNAME" >> .env
echo "MINIO_PASSWORD=$MINIO_PASSWORD" >> .env
echo "MINIO_BUCKETNAME=$MINIO_BUCKETNAME" >> .env
nvm use 16
nvm use 16
pnpm install
pnpm install
command
:
|
command
:
|
...
...
This diff is collapsed.
Click to expand it.
docker-compose.gitpod.yaml
+
15
−
1
View file @
e263cdd9
...
@@ -136,12 +136,25 @@ services:
...
@@ -136,12 +136,25 @@ services:
-
"
9000:9000"
-
"
9000:9000"
-
"
9001:9001"
-
"
9001:9001"
volumes
:
volumes
:
-
./mnt/cqube_bucket/
minio:/data
-
minio
-data
:/data
environment
:
environment
:
MINIO_ROOT_USER
:
${MINIO_USERNAME}
MINIO_ROOT_USER
:
${MINIO_USERNAME}
MINIO_ROOT_PASSWORD
:
${MINIO_PASSWORD}
MINIO_ROOT_PASSWORD
:
${MINIO_PASSWORD}
command
:
server --console-address ":9001" /data
command
:
server --console-address ":9001" /data
createbuckets
:
image
:
minio/mc
depends_on
:
-
minio
entrypoint
:
>
/bin/sh -c "
/usr/bin/mc config host add myminio http://minio:9000 ${MINIO_USERNAME} ${MINIO_PASSWORD};
/usr/bin/mc rm -r --force myminio/${MINIO_BUCKETNAME};
/usr/bin/mc mb myminio/${MINIO_BUCKETNAME};
/usr/bin/mc policy download myminio/${MINIO_BUCKETNAME};
exit 0;
"
networks
:
networks
:
db_net
:
db_net
:
driver
:
bridge
driver
:
bridge
...
@@ -152,5 +165,6 @@ networks:
...
@@ -152,5 +165,6 @@ networks:
volumes
:
volumes
:
db_data
:
db_data
:
search_data
:
search_data
:
minio-data
:
fa-config
:
fa-config
:
minio_storage
:
{}
minio_storage
:
{}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets