File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ docker-compose -p common-api-development -f docker-compose.dev.yml up -d
125
125
Building image for production
126
126
``` bash
127
127
cd docker
128
- DOCKER_BUILDKIT=1 docker build -f Dockerfile.prod -t common-api:4.1.1 ../
128
+ DOCKER_BUILDKIT=1 docker build -f Dockerfile.prod -t common-api:4.1.2 ../
129
129
```
130
130
131
131
docker compose for production
@@ -163,7 +163,7 @@ docker-compose -p common-api -f docker-compose.prod.yml up -d
163
163
> ``` shell
164
164
> # to change the value of some environment variable at runtime
165
165
> # on execution, just pass it as a parameter. (like --SERVER_PORT=80).
166
- > $ java -jar api-4.1.1 .RELEASE.jar --SERVER_PORT=80
166
+ > $ java -jar api-4.1.2 .RELEASE.jar --SERVER_PORT=80
167
167
> ` ` `
168
168
169
169
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
17
17
- ./.volumes/database:/var/lib/postgresql/data
18
18
19
19
api :
20
- image : common-api:4.1.1
20
+ image : common-api:4.1.2
21
21
restart : unless-stopped
22
22
container_name : common-api
23
23
links :
@@ -30,4 +30,5 @@ services:
30
30
DB_PASSWORD : ${DB_PASSWORD}
31
31
TOKEN_SECRET : ${TOKEN_SECRET}
32
32
DB_SHOW_SQL : " false"
33
- PRIVATE_SWAGGER : " true"
33
+ SWAGGER_USERNAME : " example"
34
+ SWAGGER_PASSWORD : " example"
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
<groupId >com.github.throyer.common.spring-boot</groupId >
11
11
<artifactId >api</artifactId >
12
- <version >4.1.1 </version >
12
+ <version >4.1.2 </version >
13
13
<name >CRUD API</name >
14
14
15
15
<description >Exemplo de api simples com Spring Boot</description >
You can’t perform that action at this time.
0 commit comments