Skip to content

Commit

Permalink
RELEASE v1.0 GIOVO
Browse files Browse the repository at this point in the history
  • Loading branch information
loreV committed Sep 22, 2021
1 parent cc658da commit 2a642ed
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM openjdk:8u201-jdk-alpine3.9

WORKDIR ./home

COPY ./backend/target/backend-1.0-SNAPSHOT.jar .
COPY ./backend/target/backend-1.0.jar .
COPY ./docker/application.properties .

RUN mkdir -p ./deployment ./tmp ./logs

CMD ["java", "-jar", "./backend-1.0-SNAPSHOT.jar", "--spring.config.location=file:///home/application.properties"]
CMD ["java", "-jar", "./backend-1.0.jar", "--spring.config.location=file:///home/application.properties"]

EXPOSE 8990
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use authentication.

### S&C on Docker
In case you want to test run S&C in combination with all its dependencies:
- Run a deployment build (see [Deployment build](#Deployment-build) )
- Run a deployment build (see [Deployment build](#Deployment-build))
- Run `sh docker/build.sh`
- Run `docker compose -f docker-compose.yml -f docker-compose.cluster.yml up`
The service will be available on `http://localhost:8990/api/v1`
Expand Down
8 changes: 4 additions & 4 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.sec</groupId>
<artifactId>root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<relativePath>../root</relativePath>
</parent>

<artifactId>backend</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<properties>
<java.version>1.8</java.version>
Expand All @@ -26,12 +26,12 @@
<dependency>
<groupId>org.sec</groupId>
<artifactId>rest</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.sec</groupId>
<artifactId>data</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion root/data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.sec</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion root/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>org.sec</groupId>
<artifactId>root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<name>Sentieri e Cartografia</name>
<description>Sentieri e Cartografia root pom</description>
<packaging>pom</packaging>
Expand Down
4 changes: 2 additions & 2 deletions root/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.sec</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -15,7 +15,7 @@
<dependency>
<groupId>org.sec</groupId>
<artifactId>data</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down

0 comments on commit 2a642ed

Please sign in to comment.