update
This commit is contained in:
parent
4ca90aeb2c
commit
8846c2bea8
|
@ -1,5 +1,5 @@
|
||||||
version: '3.1'
|
version: '3.8'
|
||||||
name: app-01-DevEnvironments
|
name: app-01-dev
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
entrypoint:
|
entrypoint:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
version: '3.1'
|
version: '3.8'
|
||||||
|
name: demo01-dev
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
|
@ -14,6 +14,25 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- d:/docker-data/mysql:/var/lib/mysql
|
- d:/docker-data/mysql:/var/lib/mysql
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres
|
||||||
|
container_name: postgre-01
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: postgres
|
||||||
|
POSTGRES_PASSWORD: "11111111"
|
||||||
|
POSTGRES_DB: y9_public
|
||||||
|
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||||
|
volumes:
|
||||||
|
- d:/docker-data/postgres:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres -d y9_public"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
container_name: redis01
|
container_name: redis01
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>3.1.3</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>net.risesoft</groupId>
|
<groupId>net.risesoft</groupId>
|
||||||
|
|
Loading…
Reference in New Issue