Skip to content
Snippets Groups Projects
Commit 037e4769 authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

Merge branch 'feature/216-update-fedora' into 'develop'

Upgrade fedora image in docker

Closes antleaf-projectmanagement#216

See merge request FDM/rdm-system/rdms!230
parents ee40ca91 a6a58dcd
No related branches found
Tags v1.0-beta1
1 merge request!230Upgrade fedora image in docker
Pipeline #11242 failed
......@@ -31,9 +31,7 @@ REDIS_PORT=6379
FEDORA_URL_SCHEME=http
FEDORA_HOST=fcrepo
FEDORA_PORT=8080
# FCREPO_ENDPOINT=hyrax_production # Optional - default is production
# FCREPO_PATH is Optional - default is /fcrepo/rest
FCREPO_PATH=/fcrepo/rest
FCREPO_PATH=/rest
FCREPO_VERSION=4.7.5
FCREPO_DEVELOPMENT_PORT=8080
FEDORA_TEST_PORT=8080
......
......@@ -26,9 +26,7 @@ REDIS_PORT=6379
FEDORA_URL_SCHEME=http
FEDORA_HOST=fcrepo
FEDORA_PORT=8080
# FCREPO_ENDPOINT=hyrax_production # Optional - default is production
# FCREPO_PATH is Optional - default is /fcrepo/rest
FCREPO_PATH=/fcrepo/rest
FCREPO_PATH=/rest
FCREPO_VERSION=4.7.5
FCREPO_DEVELOPMENT_PORT=8080
FEDORA_TEST_PORT=8080
......
......@@ -5,7 +5,7 @@ networks:
services:
fcrepo:
image: ualbertalib/docker-fcrepo4:4.7
image: ghcr.io/samvera/fcrepo4:4.7.5
restart: unless-stopped
expose:
- 8080
......
......@@ -11,5 +11,5 @@ test:
production:
user: fedoraAdmin
password: fedoraAdmin
url: <%= ENV['FEDORA_URL_SCHEME'] || 'http' %>://<%= ENV['FEDORA_HOST'] || 'fcrepo' %>:<%= ENV['FEDORA_PORT'] || '8080' %><%= ENV['FCREPO_PATH'] || '/fcrepo/rest' %>
base_path: /hyrax_production
\ No newline at end of file
url: <%= ENV['FEDORA_URL_SCHEME'] || 'http' %>://<%= ENV['FEDORA_HOST'] || 'fcrepo' %>:<%= ENV['FEDORA_PORT'] || '8080' %><%= ENV['FCREPO_PATH'] || '/rest' %>
base_path: /hyrax_production
......@@ -36,7 +36,7 @@ do
# check Fedora is running
if [ ${fedora_running} -eq 0 ] ; then
fedora_curl=$(curl --silent --connect-timeout 45 "http://${FEDORA_HOST:-fcrepo}:${FEDORA_PORT:-8080}/fcrepo/" | grep "Fedora Commons Repository")
fedora_curl=$(curl --silent --connect-timeout 45 "http://${FEDORA_HOST:-fcrepo}:${FEDORA_PORT:-8080}/" | grep "Fedora Commons Repository")
if [ -n "${fedora_curl}" ] ; then
echo "Fedora is running"
fedora_running=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment