Skip to content

Commit

Permalink
Add sample source code for performance demo - issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
danzone committed Sep 10, 2019
1 parent c5830c3 commit 5ece052
Show file tree
Hide file tree
Showing 119 changed files with 10,155 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/template/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3"

services:

tests:
build: ./tests
command: echo Ready!

testman:
build: ./testman
ports:
- "8080:8080"
16 changes: 16 additions & 0 deletions code/template/testman/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# CAMP
#
# Copyright (C) 2017 -- 2019 SINTEF Digital
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
#

# Deploy the WAR file into a Tomcat instance
FROM tomcat:8-jre8

COPY target/testman-0.1.0.BUILD-SNAPSHOT.war /usr/local/tomcat/webapps/testman.war

CMD ["catalina.sh", "run"]
Loading

0 comments on commit 5ece052

Please sign in to comment.