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
Add Oracle JDK support to Docker multi-container setup. #219
Comments
Added support and tested it, everything seems to be working correctly. Here are the pulls to fix the issue: To test you'll need to pull down all the relevant changes into your local copy of https://github.com/Islandora-CLAW/claw-docker images directories (from my repo's), and build the multi-container images using ./commands/build. Once that's done this docker-compose.yml file can be used for testing. version: "2"
volumes:
blazegraph:
drupal:
fedora:
karaf:
mariadb:
solr:
services:
# Un-comment to enable etcd as the back end for storing environment variables.
# etcd:
# image: quay.io/coreos/etcd:v2.3.0
# command: >
# -listen-client-urls http://0.0.0.0:2379
# -advertise-client-urls http://etcd:2379
# ports:
# - "2379:2379"
# Registers each container as it's started in etcd, so it can be used as a
# prefix for storing configuration settings, also for Discovery in
# multi-network system.
# registrator:
# image: gliderlabs/registrator
# command: "etcd://etcd:2379"
# volumes:
# - "/var/run/docker.sock:/tmp/docker.sock"
# links:
# - etcd
mariadb:
image: islandora/claw-mariadb
env_file: env_files/mariadb.env
volumes:
- "mariadb:/var/lib/mysql"
ports:
- "3306:3306"
fedora:
image: islandora/claw-fedora:oracle-jdk
env_file: env_files/fedora.env
volumes:
- "fedora:/mvn/fedora-data"
ports:
- "8080:8080"
blazegraph:
image: islandora/claw-blazegraph:oracle-jdk
env_file: env_files/blazegraph.env
volumes:
- "blazegraph:/opt/blazegraph"
ports:
- "8081:8080"
solr:
image: islandora/claw-solr:oracle-jdk
env_file: env_files/solr.env
volumes:
- "solr:/opt/solr/collection1/data"
ports:
- "8082:8080"
karaf:
image: islandora/claw-islandora-karaf-components:oracle-jdk
env_file:
- env_files/karaf.env
- env_files/drupal.env
volumes:
- "karaf:/opt/karaf/data"
ports:
- "8181:8181"
drupal:
image: islandora/claw-islandora
env_file:
- env_files/drupal.env
- env_files/mariadb.env
volumes:
- "drupal:/var/www/localhost/htdocs/sites/default/files"
ports:
- "80:80"
links:
- "mariadb:mysql" |
After these are merged we'll have to update the Docker Hub settings so everything builds right with the proper dependancies. |
This is great @nigelgbanks! I'll try and get all this tested and merged in the next day or so if everything goes well. |
@nigelgbanks tossed some comments on the associated PRs about updating the READMEs, and with that, I think we should be good. |
Hmm I seen a message in my email that say syncing wasn't working for you, but it's not on the issue here, is that the case? |
Nope. We're all good 😄 It was a premature comment on my part. I realized that I jumped the gun in testing again, and it hadn't finished building. Just need the README updates, and we're all good to go. |
README files have been updated. |
Missed one 😢 |
@nigelgbanks what are the Docker Hub settings we need to tweak? |
Getting: |
@nigelgbanks bump. |
I've updated all the settings in docker hub, also noticed the builds failing for a few other reasons (Solr mirror dropping old version / repository shuffle). islandora-deprecated/claw-docker-all-in-one#8 The builds won't work until these are merge. Even then they need to be updated to use the new services etc, but that's a separate ticket. |
@nigelgbanks can you share here -- explicitly -- what you updated? |
@nigelgbanks is that on all of the repos, a select number, or just a single one? |
On all repos which use either of the java images, so most of them. |
Fully resolved with islandora-deprecated/claw-docker@b04964e |
Currently only Open JDK is supported, I suspect that the problems related to Oracle JDK were also the same problems Kernal problems as is noted in the read me's.
The text was updated successfully, but these errors were encountered: