-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated while meeting with Tristan, some additional notes: Production ========== can largely go from docker need singularity installed generate unit file so things run with systemd crontab for relevant commands DATALAD_SSH_IDENTITYFILE - needs access to graham - generate new ssh key on machine and add to allowed_authorized users sqlalchemy & redis set up on machine cfmm2tar and tar2bids download -> set up large storage volume on cloud service, mount on machine, add to fstab Need to be pointed at ===================== git.sharcnet.ca repository needs to be cloned on production machine mailjet - free
- Loading branch information
Showing
6 changed files
with
3 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ AUTOBIDS_DICOM_SERVER_STUDYINSTANCEUID_WILDCARD="" # Falsy | |
AUTOBIDS_CFMM2TAR_PATH="/images/cfmm2tar.sif" | ||
AUTOBIDS_CFMM2TAR_BINDS="/home:/home,/tmp:/tmp" | ||
AUTOBIDS_CFMM2TAR_DOWNLOAD_DIR="" | ||
AUTOBIDS_CFMM2TAR_STORAGE_DIR="" | ||
AUTOBIDS_CFMM2TAR_TIMEOUT=100000 | ||
AUTOBIDS_TAR2BIDS_PATH="/images/tar2bids.sif" | ||
AUTOBIDS_TAR2BIDS_BINDS="/home:/home,/tmp:/tmp" | ||
|
@@ -35,7 +34,7 @@ AUTOBIDS_ARCHIVE_SSH_PORT=2222 | |
AUTOBIDS_ARCHIVE_SSH_KEY="~/.ssh/id_rsa.pub" | ||
AUTOBIDS_ARCHIVE_TIMEOUT=100000 | ||
|
||
AUTOBIDS_DICOM_PI_BLACKLIST = [] | ||
AUTOBIDS_DICOM_PI_BLACKLIST = [] | ||
|
||
AUTOBIDS_HEURISTIC_GIT_URL="[email protected]:example/heuristics.git" | ||
AUTOBIDS_HEURISTIC_REPO_PATH="" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,19 +67,17 @@ COPY --from=apptainer-builds /opt/apptainer-images /opt/apptainer-images/ | |
|
||
ENV OTHER_OPTIONS='--tls-aes' | ||
WORKDIR /opt/autobidsportal | ||
COPY ./entrypoint.sh /opt/autobidsportal/entrypoint.sh | ||
COPY ./autobidsportal.ini.example autobidsportal.ini | ||
COPY ./bids_form.py . | ||
|
||
RUN git config --system user.name "Autobids Portal" \ | ||
&& git config --system user.email "[email protected]" \ | ||
&& WHEEL=$(ls /opt/wheels | grep whl) \ | ||
&& pip install --no-cache-dir "/opt/wheels/${WHEEL}[deploy]" \ | ||
&& rm -r /opt/wheels \ | ||
&& chmod +x /opt/autobidsportal/entrypoint.sh | ||
&& rm -r /opt/wheels | ||
|
||
ENV DCM4CHE_VERSION=5.24.1 | ||
ENV PATH=/apps/dcm4che/dcm4che-${DCM4CHE_VERSION}/bin:/apps/DicomRaw:/apps/cfmm2tar:/opt/apptainer/bin:$PATH | ||
ENV _JAVA_OPTIONS="-Xmx2048m" | ||
|
||
ENTRYPOINT ["/opt/autobidsportal/entrypoint.sh"] | ||
CMD ["uwsgi", "--ini=autobidsportal.ini"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ services: | |
AUTOBIDS_LOG_LEVEL: INFO | ||
AUTOBIDS_ROOT_URL: autobidsportal | ||
AUTOBIDS_CFMM2TAR_DOWNLOAD_DIR: /cfmm2tar-download | ||
AUTOBIDS_CFMM2TAR_STORAGE_DIR: /tar-files | ||
AUTOBIDS_TAR2BIDS_DOWNLOAD_DIR: /datasets | ||
AUTOBIDS_TAR2BIDS_TEMP_DIR: /tmp | ||
AUTOBIDS_HEURISTIC_REPO_PATH: /home | ||
|
@@ -37,10 +36,6 @@ services: | |
AUTOBIDS_DICOM_SERVER_PASSWORD: "password" | ||
AUTOBIDS_DICOM_SERVER_TLS: "true" | ||
AUTOBIDS_DICOM_SERVER_STUDYINSTANCEUID_WILDCARD: "false" | ||
AUTOBIDS_GITLAB_ACTIVE: "true" | ||
AUTOBIDS_GITLAB_URL: "http://127.0.0.1:8080" | ||
AUTOBIDS_GITLAB_TOKEN: "BFavxxb7gAodznnorhv7" | ||
AUTOBIDS_GITHUB_ACTIVE: "false" | ||
GIT_AUTHOR_NAME: "Autobids Portal" | ||
GIT_AUTHOR_EMAIL: "[email protected]" | ||
GIT_COMMITER_NAME: "Autobids Portal" | ||
|
This file was deleted.
Oops, something went wrong.