Skip to content

Commit

Permalink
Merge pull request #908 from IGS/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
adkinsrs authored Oct 11, 2024
2 parents af56186 + d1aa555 commit 675370b
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ There are a few ways to get help with a gEAR Portal.

## Getting involved

If you'd like to contribute to the gEAR in any form (documentation, bug fixes, new features, etc.) just fork the project and create a pull request.
If you'd like to contribute to the gEAR in any form (documentation, bug fixes, new features, etc.) just fork the project and create a pull request. Within the project, we follow this [branching model](https://nvie.com/posts/a-successful-git-branching-model/).


----
Expand Down
17 changes: 11 additions & 6 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ networks:
services:
db:
environment:
MYSQL_DATABASE: [database]
MYSQL_DATABASE: db
MYSQL_USER: [user]
MYSQL_PASSWORD: [user_pw]
MYSQL_ROOT_PASSWORD: [root_pw]
image: mysql:8.0.29-oracle # for arm64v8 architecture
MYSQL_PASSWORD: [pw]
MYSQL_ROOT_PASSWORD: [pw]
image: mysql:8.0.20-oracle # for arm64v8 architecture
networks:
- gear
ports:
Expand All @@ -23,7 +23,7 @@ services:
build: .
depends_on:
- db
image: umgear
image: umgear:main
networks:
- gear
ports:
Expand All @@ -40,4 +40,9 @@ services:
- "5672:5672"
restart: always

# TODO: Make a consumer
# consumer:
# image: busybox
# tty: true
# volumes:
# - python_vol:/opt/Python-3.10.4
# - ..:/opt/gEAR
29 changes: 24 additions & 5 deletions docker/gear.ini.docker
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[database]
user = [user]
password = [pass]
user = gear
password = gearadmin
host = db
name = [db_name]l
name = gear_portal

[email_sender]
address = [gear_email]
password = [pass]

[content]
;; this is the layout users will see by default if they haven't saved one or aren't logged in
default_layout_share_id = [default_layout_share_id]

[test]
host = http://localhost/
user_name = Gear Tester
Expand All @@ -30,11 +34,26 @@ cart_group_master_id = 108
cart_shared_master_id = 109
cart_public_master_id = 110

[history]
;; This allows gEAR users to see a history of their OWN actions on the dashboard
enable_user_history = 1
;; Each of these 'count' variables specify how many of the most recent of that type of
;; search to display
history_count = 10

[projectR_service]
enable_link = 1
hostname = [cloud_run_service_url]
;; 0 - disable, 1 - enable
cloud_run_enabled = 1
;; 0 - disable RabbitMQ, 1 - enable. Disabling could lead to potential server crashes if many jobs are run simultaneously
queue_enabled = 0
queue_host = queue
queue_host = localhost


[nemoarchive_import]
importer_id = [importer_id]
gcp_project_id=[gcp_project_id]
credentials_json=[path_to_credentials_json]
;; 0 - disable RabbitMQ, 1 - enable. Disabling could lead to potential server crashes if many jobs are run simultaneously
queue_enabled = 1
queue_host = localhost
27 changes: 14 additions & 13 deletions gear.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[database]
user = gear
password = gearadmin
host = db
host = localhost
name = gear_portal

[email_sender]
address = [email protected]
password = flrpnztkqfmgbsoj
address = [gear_email]
password = [pass]

[content]
;; this is the layout users will see by default if they haven't saved one or aren't logged in
default_layout_share_id = [default_layout_share_id]

[test]
host = http://localhost/
Expand Down Expand Up @@ -37,22 +41,19 @@ enable_user_history = 1
;; search to display
history_count = 10

[content]
;; this is the layout users will see by default if they haven't saved one or aren't logged in
default_layout_share_id = f64f9c22

[projectR_service]
hostname = https://staging---projectr-service-ruvt5l3uva-uk.a.run.app
hostname = [cloud_run_service_url]
;; 0 - disable, 1 - enable
cloud_run_enabled = 1
;; 0 - disable RabbitMQ, 1 - enable. Disabling could lead to potential server crashes if many jobs are run simultaneously
queue_enabled = 0
queue_host = queue
queue_host = localhost


[nemoarchive_import]
importer_id = 1344
gcp_project_id=nemo-analytics
credentials_json=./nemo-analytics-4b6c8d641617.json
importer_id = [importer_id]
gcp_project_id=[gcp_project_id]
credentials_json=[path_to_credentials_json]
;; 0 - disable RabbitMQ, 1 - enable. Disabling could lead to potential server crashes if many jobs are run simultaneously
queue_enabled = 1
queue_host = queue
queue_host = localhost

0 comments on commit 675370b

Please sign in to comment.