-
Notifications
You must be signed in to change notification settings - Fork 11
Deployment
Adam Sanchez edited this page Jan 26, 2018
·
3 revisions
For deployment, the following docker-compose.yml file can be used
` version: '3' services:
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'
`