Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env → .env-dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ XNAT_ACTIVEMQ_PASSWORD=password
TOMCAT_XNAT_FOLDER=ROOT
XNAT_ROOT=/data/xnat
XNAT_HOME=/data/xnat/home
XNAT_EMAIL=[email protected]
XNAT_EMAIL=[email protected]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gradle.properties
# Ignore log and env files, as well as mounted data folders and plugin folders.
*.log
*.env
.env
*-data/
xnat/plugins

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ $ cd xnat-docker-compose
* If you need to control some arguments that get sent to tomcat on startup, you can modify the `CATALINA_OPTS` environment variable (under `services → xnat-web → environment`).
- **xnat/Dockerfile**: Builds the xnat-web image from a tomcat docker image.

3. Start the system
3. Copy `.env-dist` to `.env` and edit it for your site.

4. Start the system

```
$ docker-compose up -d
Expand Down Expand Up @@ -102,7 +104,7 @@ When you bring up XNAT with `docker-compose up`, several directories are created
To support differing deployment requirements, `xnat-docker-compose` uses variables for settings that tend to change based on environment. By
default, `docker-compose` takes the values for variables from the [file `.env`](https://docs.docker.com/compose/environment-variables/). Advanced configurations will need to use a customized `.env` file.

To create your own `.env` file, it's best to just copy the existing `.env` and modify the values in there.
You should copy `.env-dist` to `.env` and modify the values in there.

### XNAT configuration

Expand Down