Commit 11fd9e28 authored by Leo Leung's avatar Leo Leung
Browse files

Fixed double symlink creation for solr which breaks phenotips

Updated readme
parent 85c4b1b4
# Phenotips Docker Image
> Contains CHGI ldap bindings in the example config directory.
## Docker-compose
To integrate with the gene42 docker-compose.yml file, modify to match:
```
staging_phenotips:
container_name: staging_phenotips
image: docker.ucalgary.ca/lleung/chgi-phenotips:1.4.7
restart: always
networks:
- staging_web
- staging_backend
expose:
- 8080
volumes:
- staging_phenotips_local-storage_persistent:/var/lib/phenotips
- /local/lib/docker/volumes/staging_phenotips_config/_data/conf/WEB-INF/:/config
- staging_phenotips_logs_persistent:/var/local/tomcat/logs
cap_drop:
- SYS_ADMIN
environment:
- JAVA_HEAP=3096m
- JAVA_OPTS=
```
......@@ -35,7 +35,7 @@ setup_solr() {
fi
mkdir -p /usr/local/tomcat/work/Catalina/localhost/ROOT/
ln -s $solr_dir /usr/local/tomcat/work/Catalina/localhost/ROOT/solr
ln -s $solr_dir /usr/local/tomcat/work/Catalina/localhost/ROOT/
}
echo "Starting Phenotips"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment