Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#61: All services in a single tomcat (with refactor to use paths instead of domains for routing) #135

Merged
merged 41 commits into from
Nov 20, 2024

Conversation

StefanVanDyck
Copy link
Collaborator

Using paths should require less changes to /etc/hosts when running locally.
Much less resources thanks to only requiring a single tomcat docker container.
Tried to make it so the docker-builds produce both single service images and the all-serving tomcat without the need to build services twice.

katya-shaleninova and others added 21 commits October 24, 2024 13:14
Notes:
- the new db-init scripts for userdetails service are copied over from ala-cas-5 project. Ideally we checkout the project (however the sources have not changed since 2017)
- living-atlas-1 service depends_on attribute is commented out as it did not seem to pick up. To be looked at.
- mysql-*-init services can and should be joined into one service. In principe they can also be moved to mysql's initdb.d procedure. We would have to ensure the execution order though.
- create virtual Tomcat hosts per service (non-ROOT xml files are there to serve path prefixes, for instance ws.xml is the context configuration for http(s)://spatial.basedomain/ws, which serves spatial-service webapp )
- fix nginx config for lists subdomain
…e. route using paths instead of subdomains and setup docker bake to ensure we only need to compile stuff once
…r images and added colors to the service names in the logger
katya-shaleninova and others added 7 commits November 12, 2024 14:54
- fix namematching service URL for biocache-service
- make sure biocache-service uses docker's internal host URL for Solr
- branding
- use fresh namematching service image (built today, 12/11/2024) which uses trunk version of ala-namematching-service and gbif backbone index from 11/09/2024 (so not custom 'spanish' version)
@StefanVanDyck StefanVanDyck merged commit 08d935d into main Nov 20, 2024
@StefanVanDyck StefanVanDyck deleted the 61-refactor branch November 28, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants