This commit is contained in:
dzj 2023-08-30 10:19:37 +08:00
parent 4ca90aeb2c
commit 8846c2bea8
3 changed files with 24 additions and 5 deletions

View File

@ -1,5 +1,5 @@
version: '3.1'
name: app-01-DevEnvironments
version: '3.8'
name: app-01-dev
services:
app:
entrypoint:

View File

@ -1,5 +1,5 @@
version: '3.1'
version: '3.8'
name: demo01-dev
services:
db:
image: mysql:latest
@ -14,6 +14,25 @@ services:
volumes:
- 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:
image: redis:latest
container_name: redis01

View File

@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.1</version>
<version>3.1.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>net.risesoft</groupId>