Skip to content

Commit ba4082b

Browse files
committed
docs: update docker-compose commands on readme
1 parent f8a989c commit ba4082b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.docker/.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# docker
2+
COMPOSE_PROJECT_NAME=spring-boot-crud-containers
3+
TIMEZONE=America/Sao_Paulo
4+
5+
# database
16
DB_URL=database:5432/example_api
27
DB_USERNAME=root
38
DB_PASSWORD=root

.docker/scripts/mvn

100644100755
File mode changed.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,21 @@ Creating database migration files
130130
> ```
131131
132132
- docker-compose for development
133+
- starting containers
133134
```
134135
.docker/scripts/develop up -d
135136
```
136-
137+
138+
- removing contaiers
137139
```
138140
.docker/scripts/develop down
139141
```
140142

143+
- show backend logs
144+
```
145+
.docker/scripts/develop logs -f api
146+
```
147+
141148
- docker-compose for production
142149
```
143150
.docker/scripts/production up -d --build

0 commit comments

Comments
 (0)