Skip to content

Commit

Permalink
Build 1.0.0 Production
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanSCao committed Aug 12, 2021
1 parent cda0fb3 commit 23da042
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From tomcat:8.5-alpine
# VOLUME /tmp
RUN /bin/rm -fR /usr/local/tomcat/webapps/*
COPY target/sesar-rest-api-0.0.9.war /usr/local/tomcat/webapps/api.war
COPY target/sesar-rest-api-1.0.0.war /usr/local/tomcat/webapps/api.war
RUN sh -c 'touch /usr/local/tomcat/webapps/api.war'
# Expose Ports. SESAR will run on 443. Any request to 80 will be redirect to 443
EXPOSE 443 8080
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
services:
sesar:
image: earthchemdocker/sesar-rest-api:0.0.9
container_name: sesar-rest-api-0.0.8
image: earthchemdocker/sesar-rest-api:1.0.0
container_name: sesar-rest-api-1.0.0
ports:
- "8080:8080"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>org.earthchem</groupId>
<artifactId>sesar-rest-api</artifactId>
<version>0.0.9</version>
<version>1.0.0</version>
<packaging>war</packaging>
<name>sesar-rest-api</name>
<description>SESAR REST API</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private ApiInfo metaData() {
return new ApiInfoBuilder()
.title("SESAR REST API")
.description("SESAR REST API for IGSN Registration")
.version("0.0.7")
.version("1.0.0")
.license("Apache License Version 2.0")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0\"")
.contact(new Contact("SESAR", "https://www.geosamples.org", "[email protected]"))
Expand Down

0 comments on commit 23da042

Please sign in to comment.