Skip to content

Commit 98645be

Browse files
author
Jason Kai
committed
updated env variables
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
1 parent b0942b5 commit 98645be

File tree

6 files changed

+2
-57
lines changed

6 files changed

+2
-57
lines changed

.envtemplate

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ AUTOBIDS_DICOM_SERVER_STUDYINSTANCEUID_WILDCARD="" # Falsy
1515
AUTOBIDS_CFMM2TAR_PATH="/images/cfmm2tar.sif"
1616
AUTOBIDS_CFMM2TAR_BINDS="/home:/home,/tmp:/tmp"
1717
AUTOBIDS_CFMM2TAR_DOWNLOAD_DIR=""
18-
AUTOBIDS_CFMM2TAR_STORAGE_DIR=""
1918
AUTOBIDS_CFMM2TAR_TIMEOUT=100000
2019
AUTOBIDS_TAR2BIDS_PATH="/images/tar2bids.sif"
2120
AUTOBIDS_TAR2BIDS_BINDS="/home:/home,/tmp:/tmp"
@@ -35,7 +34,7 @@ AUTOBIDS_ARCHIVE_SSH_PORT=2222
3534
AUTOBIDS_ARCHIVE_SSH_KEY="~/.ssh/id_rsa.pub"
3635
AUTOBIDS_ARCHIVE_TIMEOUT=100000
3736

38-
AUTOBIDS_DICOM_PI_BLACKLIST = []
37+
AUTOBIDS_DICOM_PI_BLACKLIST = []
3938

4039
AUTOBIDS_HEURISTIC_GIT_URL="git@github.com:example/heuristics.git"
4140
AUTOBIDS_HEURISTIC_REPO_PATH=""

.pylintrc

Lines changed: 0 additions & 9 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ COPY --from=apptainer-builds /opt/apptainer-images /opt/apptainer-images/
6767

6868
ENV OTHER_OPTIONS='--tls-aes'
6969
WORKDIR /opt/autobidsportal
70-
COPY ./entrypoint.sh /opt/autobidsportal/entrypoint.sh
7170
COPY ./autobidsportal.ini.example autobidsportal.ini
7271
COPY ./bids_form.py .
7372

@@ -82,4 +81,4 @@ ENV DCM4CHE_VERSION=5.24.1
8281
ENV PATH=/apps/dcm4che/dcm4che-${DCM4CHE_VERSION}/bin:/apps/DicomRaw:/apps/cfmm2tar:/opt/apptainer/bin:$PATH
8382
ENV _JAVA_OPTIONS="-Xmx2048m"
8483

85-
ENTRYPOINT ["/opt/autobidsportal/entrypoint.sh"]
84+
CMD ["uwsgi", "--ini=autobidsportal.ini"]

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

compose.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ services:
1111
AUTOBIDS_LOG_LEVEL: INFO
1212
AUTOBIDS_ROOT_URL: autobidsportal
1313
AUTOBIDS_CFMM2TAR_DOWNLOAD_DIR: /cfmm2tar-download
14-
AUTOBIDS_CFMM2TAR_STORAGE_DIR: /tar-files
1514
AUTOBIDS_TAR2BIDS_DOWNLOAD_DIR: /datasets
1615
AUTOBIDS_TAR2BIDS_TEMP_DIR: /tmp
1716
AUTOBIDS_HEURISTIC_REPO_PATH: /home
@@ -37,10 +36,6 @@ services:
3736
AUTOBIDS_DICOM_SERVER_PASSWORD: "password"
3837
AUTOBIDS_DICOM_SERVER_TLS: "true"
3938
AUTOBIDS_DICOM_SERVER_STUDYINSTANCEUID_WILDCARD: "false"
40-
AUTOBIDS_GITLAB_ACTIVE: "true"
41-
AUTOBIDS_GITLAB_URL: "http://127.0.0.1:8080"
42-
AUTOBIDS_GITLAB_TOKEN: "BFavxxb7gAodznnorhv7"
43-
AUTOBIDS_GITHUB_ACTIVE: "false"
4439
GIT_AUTHOR_NAME: "Autobids Portal"
4540
GIT_AUTHOR_EMAIL: "autobids@example.com"
4641
GIT_COMMITER_NAME: "Autobids Portal"

entrypoint.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)