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:
Ryo 2025-08-14 17:58:38 +08:00 committed by GitHub
parent d58783b11c
commit 174da78c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,7 @@ export MINIO_PROXY_ENDPOINT=""
export USE_SSL="0"
export SSL_CERT_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
export MYSQL_ROOT_PASSWORD=root

View File

@ -7,6 +7,7 @@ export MINIO_PROXY_ENDPOINT=""
export USE_SSL="0"
export SSL_CERT_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
export MYSQL_ROOT_PASSWORD=root

View File

@ -345,7 +345,7 @@ services:
# build:
# context: ../
# dockerfile: backend/Dockerfile
image: opencoze/opencoze:latest
image: cozedev/coze-studio-server:latest
restart: always
container_name: coze-server
env_file: *env_file
@ -355,7 +355,7 @@ services:
- coze-network
ports:
- '8888'
- '8889:8889'
- '8889'
volumes:
- .env:/app/.env
- ../backend/conf:/app/resources/conf
@ -377,11 +377,11 @@ services:
# build:
# context: ..
# dockerfile: frontend/Dockerfile
image: opencoze/web:latest
image: cozedev/coze-studio-web:latest
container_name: coze-web
restart: always
ports:
- "8888:80"
- "${WEB_LISTEN_ADDR:-8888}:80"
# - "443:443" # SSL port (uncomment if using SSL)
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro # Main nginx config