Last active
October 6, 2017 02:12
-
-
Save dermatologist/0a468b650b2861ee0d94c26f67761092 to your computer and use it in GitHub Desktop.
docker-compose for deploying OpenClinica
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
version: '2' | |
services: | |
pgs: | |
image: postgres:9.4 | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_DB: clinica | |
POSTGRES_USER: clinica | |
POSTGRES_PASSWORD: clinica | |
volumes: | |
- ocdb-data:/var/lib/postgresql/data | |
networks: | |
- mynetwork | |
openclinica: | |
image: piegsaj/openclinica:oc-3.13 | |
ports: | |
- 8091:8080 | |
environment: | |
LOG_LEVEL: INFO | |
TZ: UTC-1 | |
DB_TYPE: postgres | |
DB_HOST: pgs | |
DB_NAME: clinica | |
DB_USER: clinica | |
DB_PASS: clinica | |
DB_PORT: 5432 | |
SUPPORT_URL: "https://www.openclinica.com/community-edition-open-source-edc/" | |
links: | |
- pgs | |
depends_on: | |
- pgs | |
volumes: | |
- oc-data:/usr/local/tomcat/openclinica.data | |
networks: | |
- mynetwork | |
volumes: | |
ocdb-data: | |
oc-data: | |
networks: | |
mynetwork: | |
driver: bridge | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment