mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 11:07:41 +08:00
31 lines
664 B
YAML
31 lines
664 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
mysql:
|
|
image: mysql:latest
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: 12345678
|
|
MYSQL_DATABASE: datacap
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- ./configure/schema/datacap.sql:/docker-entrypoint-initdb.d/schema.sql
|
|
|
|
clickhouse:
|
|
image: clickhouse/clickhouse-server:latest
|
|
restart: always
|
|
ports:
|
|
- "8123:8123"
|
|
environment:
|
|
- CLICKHOUSE_DB=datacap
|
|
|
|
datacap:
|
|
image: qianmoq/datacap:latest
|
|
restart: always
|
|
ports:
|
|
- "9099:9099"
|
|
depends_on:
|
|
- mysql
|
|
volumes:
|
|
- ./configure/docker/application.properties:/opt/app/datacap/configure/application.properties
|