mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 05:38:30 +08:00
5f4146eb4e
* docker compose db * docker compose db * docker compose db * docker compose db * delete init
25 lines
516 B
YAML
25 lines
516 B
YAML
version: '2'
|
|
services:
|
|
zookeeper:
|
|
image: zookeeper
|
|
restart: always
|
|
container_name: zookeeper
|
|
ports:
|
|
- "2181:2181"
|
|
environment:
|
|
ZOO_MY_ID: 1
|
|
db:
|
|
image: postgres
|
|
container_name: postgres
|
|
environment:
|
|
- POSTGRES_USER=test
|
|
- POSTGRES_PASSWORD=test
|
|
- POSTGRES_DB=dolphinscheduler
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
- ./postgres/docker-entrypoint-initdb:/docker-entrypoint-initdb.d
|
|
volumes:
|
|
pgdata:
|