Skip to content

Commit

Permalink
merge: Merge with Master
Browse files Browse the repository at this point in the history
  • Loading branch information
shiido committed Oct 8, 2020
2 parents 358ca3f + e72d4b7 commit e62d255
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV CLOUD_CONFIG=$CLOUD_CONFIG

VOLUME /tmp

ADD ./target/st-microservice-supplies-0.0.1-SNAPSHOT.jar st-microservice-supplies.jar
ADD ./target/st-microservice-supplies-1.3.7.jar st-microservice-supplies.jar

EXPOSE 8080

Expand Down
36 changes: 1 addition & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,40 +53,6 @@ spring:
See [http://localhost:9573/swagger-ui.html](http://localhost:9573/swagger-ui.html)
## Running Production
### Master Branch
Go to the master branch
```sh
$ git checkout master
```

### Generate jar

```sh
$ mvn clean package -DskipTests
```

### Create Network Docker

```sh
$ docker network create st
```

### Create image from Dockerfile

```sh
$ docker build -t st-microservice-supplies:lynx .
```

### Run Container

```sh
$ docker run -P -t --network st -d st-microservice-supplies:lynx
```

## License
[Agencia de Implementación - BSF Swissphoto - INCIGE](https://github.com/AgenciaImplementacion/st-microservice-supplies/blob/master/LICENSE)
[Agencia de Implementación - BSF Swissphoto - INCIGE](https://github.com/SwissTierrasColombia/st-microservice-supplies/blob/master/LICENSE)
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>com.ai.st.microservice.supplies</groupId>
<artifactId>st-microservice-supplies</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.3.7</version>
<name>st-microservice-supplies</name>
<description>Microservice Supplies</description>

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
application:
name: st-microservice-supplies
profiles:
active: "aws"
active: "production"
cloud:
config:
enabled: true
Expand Down

0 comments on commit e62d255

Please sign in to comment.