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 a259847 + 0c244f9 commit 9548f98
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 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-administration-0.0.1-SNAPSHOT.jar st-microservice-administration.jar
ADD ./target/st-microservice-administration-1.1.2.jar st-microservice-administration.jar

EXPOSE 8080

Expand Down
34 changes: 0 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,40 +53,6 @@ spring:
See [http://localhost:7986/swagger-ui.html](http://localhost:7986/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-administration:lynx .
```

### Run Container

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

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

<groupId>com.ai.st.microservice.administration</groupId>
<artifactId>st-microservice-administration</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.1.2</version>
<name>st-microservice-administration2</name>
<description>Microservice Administration Users and Roles</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-administration
profiles:
active: "aws"
active: "production"
cloud:
config:
enabled: true
Expand Down

0 comments on commit 9548f98

Please sign in to comment.