Skip to content

Commit

Permalink
add seed data for com-mdpt DB
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 24, 2022
1 parent 7a9aa02 commit 8032e65
Show file tree
Hide file tree
Showing 4 changed files with 913 additions and 20 deletions.
21 changes: 2 additions & 19 deletions Workbench/comanage_cron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,9 @@ ENV COMANAGE_REGISTRY_EMAIL_HOST=smtp.example.edu
#ENV HTTPS_PRIVKEY_FILE=/etc/pki/tls/private/localhost.key
# COMANAGE_REGISTRY_SECURITY_SALT - autogenerated if not specified
# COMANAGE_REGISTRY_SECURITY_SEED - autogenerated if not specified
#ENV SHIBBOLETH_SP_CERT=/etc/shibboleth/sp-cert.pem
#ENV SHIBBOLETH_SP_PRIVKEY=/etc/shibboleth/sp-key.pem
#ENV SHIBBOLETH_SP_ENTITY_ID=comanage.example.edu
#ENV SHIBBOLETH_SP_METADATA_PROVIDER_XML=sdf
#ENV SHIBBOLETH_SP_SAMLDS_URL=thing

#RUN apt-get update --allow-releaseinfo-change && apt-get update
#RUN yum -y update
#RUN yum -y install nc
#RUN apt-get install -y nc
RUN apt-get update --allow-releaseinfo-change && apt-get update
RUN apt-get install -y netcat
RUN apt-get install -y sendmail

ARG maintainer=my
Expand All @@ -37,20 +30,10 @@ ENV COMANAGE_REGISTRY_VIRTUAL_HOST_FQDN=$CSPHOSTNAME
LABEL Version=$version
ENV VERSION=$version

#COPY container_files/system/runcomangejob.sh /usr/local/bin/
#COPY container_files/system/root-crontab /usr/local/etc
#RUN chmod 755 /usr/local/bin/runcomangejob.sh && \
# mkdir -p /srv/comanage-registry/app/tmp
##&& \
## /usr/bin/crontab -u root /usr/local/etc/root-crontab
#
#ENV COMANAGE_REGISTRY_CRONTAB=/usr/local/etc/root-crontab

# activate SQL provisioning plugin
RUN mkdir -p /srv/comanage-registry/local/Plugin/
RUN ln -s /srv/comanage-registry/app/AvailablePlugin/SqlProvisioner /srv/comanage-registry/local/Plugin/


COPY container_files/system/setupcroncomanage.sh /usr/local/bin/setupcroncomanage.sh
COPY container_files/system/runcomangejob.sh /usr/local/bin/
COPY --chown=www-data:www-data container_files/system/root-crontab /usr/local/etc
Expand Down
5 changes: 5 additions & 0 deletions Workbench/comanage_midpoint_data/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM postgres:12

COPY container_files/seed-data/ /docker-entrypoint-initdb.d/


Loading

0 comments on commit 8032e65

Please sign in to comment.