Skip to content
Adam Sanchez edited this page Jan 26, 2018 · 3 revisions

For deployment, the following docker-compose.yml file can be used

version: '3' services: mongodb: image: mongo:latest container_name: "mongodb" environment: - MONGO_DATA_DIR=/data/db - MONGO_LOG_DIR=/dev/null volumes: - ./data:/data/db ports: - 27017:27017 command: mongod --smallfiles --logpath=/dev/null # --quiet apache: image: httpd:2.4 volumes: - ./ontology-tracker/guidelines/web/:/usr/local/apache2/htdocs/ ports: - 81:80 java: image: java:openjdk-8-jdk-alpine volumes: - ./ontology-tracker:/usr/src/ontology-tracker ports: - 8081:8081 command: 'java -jar /usr/src/ontology-tracker/target/ontology-tracker-1.0-SNAPSHOT-spring-boot.jar --server.port=8081'

Clone this wiki locally