mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 13:08:48 +08:00
添加docker-compose部署方式
This commit is contained in:
7
km-dist/docker/knowstreaming-mysql/Dockerfile
Normal file
7
km-dist/docker/knowstreaming-mysql/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM mysql:5.7.39-oracle
|
||||
EXPOSE 3306
|
||||
ARG INIT_SOURCE_FILE=./sql/*.sql
|
||||
#RUN mkdir /data/mysql
|
||||
#RUN mkdir /var/lib/mysql-files
|
||||
COPY ${INIT_SOURCE_FILE} /docker-entrypoint-initdb.d/
|
||||
COPY ./*.cnf /etc/mysql/conf.d/
|
||||
Reference in New Issue
Block a user