update
This commit is contained in:
parent
4ca90aeb2c
commit
8846c2bea8
|
@ -1,5 +1,5 @@
|
|||
version: '3.1'
|
||||
name: app-01-DevEnvironments
|
||||
version: '3.8'
|
||||
name: app-01-dev
|
||||
services:
|
||||
app:
|
||||
entrypoint:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue