Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed #119 #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions install/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ services:
image: bitnami/redis:4.0.14
restart: unless-stopped
environment:
REDIS_PASSWORD: admin
REDIS_PASSWORD: root
ports:
- "6379:6379"

# mysql:
# image: mysql:5.7
# restart: always
# environment:
# MYSQL_ROOT_PASSWORD: admin
# ports:
# - "3306:3306"
# volumes:
# - ./data/mysql:/var/lib/mysql
mysql:
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: kubeflow
volumes:
- ./data/mysql:/var/lib/mysql
ports:
- "3306:3306"

frontend:
image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2022.09.01
restart: unless-stopped
ports:
- '80:80'
- "80:80"
volumes:
- ../../myapp/static/appbuilder/frontend:/data/web/frontend
- ../../install/docker/dockerFrontend/nginx.conf:/etc/nginx/nginx.conf
Expand All @@ -36,23 +37,20 @@ services:
STAGE: 'dev'
REDIS_HOST: 'host.docker.internal'
REDIS_PORT: '6379'
REDIS_PASSWORD: admin
MYSQL_SERVICE: 'mysql+pymysql://root:[email protected]:3306/kubeflow?charset=utf8'
REDIS_PASSWORD: root
MYSQL_SERVICE: 'mysql+pymysql://root:root@mysql:3306/kubeflow?charset=utf8'
ENVIRONMENT: DEV
GPU_TYPE: NVIDIA
# ports:
# - "8080:80"
depends_on:
- redis
# - mysql
volumes:
- ../../myapp/static/appbuilder/frontend:/data/web/frontend
- ../../myapp/:/home/myapp/myapp/
- ./file:/pvc
- ./entrypoint.sh:/entrypoint.sh
- ./config.py:/home/myapp/myapp/config.py
- ./kubeconfig:/home/myapp/kubeconfig

depends_on:
- redis
- mysql

# beat:
# image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2022.09.01
Expand Down