Skip to content

Commit

Permalink
Merge pull request #821 from sh-andriy/feature-6052
Browse files Browse the repository at this point in the history
[ENG-6052] | Fixes to share for M chips discovered during local setup
  • Loading branch information
aaxelb authored Jul 31, 2024
2 parents b840a5d + 9ecde38 commit f93a70b
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ volumes:
share_requirements_vol:
external: false

networks:
share_network:
driver: bridge

services:


Expand Down Expand Up @@ -78,6 +82,8 @@ services:
interval: 1s
timeout: 5s
retries: 120
networks:
- share_network

elastic8:
depends_on:
Expand All @@ -92,7 +98,7 @@ services:
environment:
- ELASTIC_PASSWORD=${ELASTIC_PASSWORD:-secretsecret}
- node.name=singlenode
- cluster.initial_master_nodes=singlenode
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms512m -Xmx512m # raise memory limits a lil bit
- xpack.security.enabled=true
- xpack.security.http.ssl.enabled=true
Expand All @@ -105,6 +111,8 @@ services:
- xpack.security.transport.ssl.certificate_authorities=certs/ca/ca.crt
- xpack.security.transport.ssl.verification_mode=certificate
stdin_open: true
networks:
- share_network

rabbitmq:
image: rabbitmq:management
Expand All @@ -114,6 +122,8 @@ services:
volumes:
- rabbitmq_vol:/var/lib/rabbitmq
stdin_open: true
networks:
- share_network

postgres:
image: postgres:10
Expand All @@ -134,6 +144,8 @@ services:
volumes:
- "${POSTGRES_DATA_VOL:-postgres_data_vol}:/var/lib/postgresql/data/"
stdin_open: true
networks:
- share_network

##################
# SHARE software #
Expand All @@ -156,6 +168,8 @@ services:
volumes:
- ./:/code:cached
- share_requirements_vol:/python3.10
networks:
- share_network

frontend:
image: quay.io/centerforopenscience/share-web:develop-local
Expand All @@ -165,6 +179,8 @@ services:
volumes:
- share_dist_vol:/code/dist
stdin_open: true
networks:
- share_network

worker:
image: quay.io/centerforopenscience/share:develop
Expand All @@ -185,6 +201,8 @@ services:
ELASTICSEARCH8_SECRET: ${ELASTIC_PASSWORD:-secretsecret}
ELASTICSEARCH8_CERT_PATH: /elastic8_certs/ca/ca.crt
stdin_open: true
networks:
- share_network

web:
image: quay.io/centerforopenscience/share:develop
Expand All @@ -206,6 +224,8 @@ services:
ELASTICSEARCH8_SECRET: ${ELASTIC_PASSWORD:-secretsecret}
ELASTICSEARCH8_CERT_PATH: /elastic8_certs/ca/ca.crt
stdin_open: true
networks:
- share_network

indexer:
image: quay.io/centerforopenscience/share:develop
Expand All @@ -225,4 +245,5 @@ services:
ELASTICSEARCH8_CERT_PATH: /elastic8_certs/ca/ca.crt
restart: unless-stopped
stdin_open: true

networks:
- share_network

0 comments on commit f93a70b

Please sign in to comment.