Skip to content
krafftta edited this page Mar 25, 2024 · 4 revisions

A guide on how to setup PACS2go

  1. Install Docker
  2. Install Docker Compose
  3. Clone repo
  4. Create .env with XNAT, PG_Admins etc. credentials (see below)
  5. Create .env in /pacs2go/frontend with SECRET_KEY (random hex string of 64 characters)
  6. Command line: cd pacs2go
  7. Command line: sudo docker-compose up

.env Example:

XNAT_VERSION=1.8.6
XNAT_MIN_HEAP=256m
XNAT_MAX_HEAP=4g
XNAT_SMTP_ENABLED=false
XNAT_SMTP_HOSTNAME=fake.fake
XNAT_SMTP_PORT=
XNAT_SMTP_AUTH=
XNAT_SMTP_USERNAME=
XNAT_SMTP_PASSWORD=
XNAT_DATASOURCE_ADMIN_PASSWORD=xnat123456789abcdef0
XNAT_DATASOURCE_DRIVER=org.postgresql.Driver
XNAT_DATASOURCE_NAME=xnat
XNAT_DATASOURCE_USERNAME=xnat
XNAT_DATASOURCE_PASSWORD=xnat
XNAT_DATASOURCE_URL=jdbc:postgresql://xnat-db/xnat
XNAT_ACTIVEMQ_URL=tcp://xnat-activemq:61616
XNAT_ACTIVEMQ_USERNAME=write
XNAT_ACTIVEMQ_PASSWORD=password
TOMCAT_XNAT_FOLDER=ROOT
XNAT_ROOT=/data/xnat
XNAT_HOME=/data/xnat/home
XNAT_EMAIL=harmitage@miskatonic.edu

PG_VERSION=12.2-alpine

NGINX_VERSION=1.19-alpine-perl

XNAT_USER='admin'
XNAT_PASS='?'

POSTGRES_USER=pacs2go_extend_admin
POSTGRES_PASSWORD=?
POSTGRES_DB=pacs2go_extend_db

PGADMIN_DEFAULT_EMAIL=?
PGADMIN_DEFAULT_PASSWORD=?
Clone this wiki locally