chore(ci): 1. Update the Docker image names for both the server and the web.2. Set the default port access to localhost only. (#760)
This commit is contained in:
parent
d58783b11c
commit
174da78c78
|
|
@ -10,6 +10,7 @@ export MINIO_PROXY_ENDPOINT=""
|
||||||
export USE_SSL="0"
|
export USE_SSL="0"
|
||||||
export SSL_CERT_FILE=""
|
export SSL_CERT_FILE=""
|
||||||
export SSL_KEY_FILE=""
|
export SSL_KEY_FILE=""
|
||||||
|
export WEB_LISTEN_ADDR="127.0.0.1:8888" # To enable remote access, use 0.0.0.0:8888.
|
||||||
|
|
||||||
# MySQL
|
# MySQL
|
||||||
export MYSQL_ROOT_PASSWORD=root
|
export MYSQL_ROOT_PASSWORD=root
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ export MINIO_PROXY_ENDPOINT=""
|
||||||
export USE_SSL="0"
|
export USE_SSL="0"
|
||||||
export SSL_CERT_FILE=""
|
export SSL_CERT_FILE=""
|
||||||
export SSL_KEY_FILE=""
|
export SSL_KEY_FILE=""
|
||||||
|
export WEB_LISTEN_ADDR="127.0.0.1:8888" # To enable remote access, use 0.0.0.0:8888.
|
||||||
|
|
||||||
# MySQL
|
# MySQL
|
||||||
export MYSQL_ROOT_PASSWORD=root
|
export MYSQL_ROOT_PASSWORD=root
|
||||||
|
|
|
||||||
|
|
@ -345,7 +345,7 @@ services:
|
||||||
# build:
|
# build:
|
||||||
# context: ../
|
# context: ../
|
||||||
# dockerfile: backend/Dockerfile
|
# dockerfile: backend/Dockerfile
|
||||||
image: opencoze/opencoze:latest
|
image: cozedev/coze-studio-server:latest
|
||||||
restart: always
|
restart: always
|
||||||
container_name: coze-server
|
container_name: coze-server
|
||||||
env_file: *env_file
|
env_file: *env_file
|
||||||
|
|
@ -355,7 +355,7 @@ services:
|
||||||
- coze-network
|
- coze-network
|
||||||
ports:
|
ports:
|
||||||
- '8888'
|
- '8888'
|
||||||
- '8889:8889'
|
- '8889'
|
||||||
volumes:
|
volumes:
|
||||||
- .env:/app/.env
|
- .env:/app/.env
|
||||||
- ../backend/conf:/app/resources/conf
|
- ../backend/conf:/app/resources/conf
|
||||||
|
|
@ -377,11 +377,11 @@ services:
|
||||||
# build:
|
# build:
|
||||||
# context: ..
|
# context: ..
|
||||||
# dockerfile: frontend/Dockerfile
|
# dockerfile: frontend/Dockerfile
|
||||||
image: opencoze/web:latest
|
image: cozedev/coze-studio-web:latest
|
||||||
container_name: coze-web
|
container_name: coze-web
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8888:80"
|
- "${WEB_LISTEN_ADDR:-8888}:80"
|
||||||
# - "443:443" # SSL port (uncomment if using SSL)
|
# - "443:443" # SSL port (uncomment if using SSL)
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro # Main nginx config
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro # Main nginx config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue