diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 8536e21..52ecd1a 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -99,15 +99,11 @@ services: logging: *default-logging admin: - image: sport-era-prod-admin:local - build: - context: ../admin - dockerfile: ../docker/Dockerfile.admin - args: - VITE_APP_BASE_URL: ${PROD_API_BASE_URL:-https://api.sbnews.net} + image: registry.cn-guangzhou.aliyuncs.com/likeadmin/nginx:1.23.1 restart: unless-stopped network_mode: host volumes: + - ${SERVER_DIR:-../server}/public/admin:/usr/share/nginx/html:ro - ./config/nginx/static/admin.conf:/etc/nginx/conf.d/default.conf:ro healthcheck: test: @@ -120,15 +116,11 @@ services: logging: *default-logging uniapp-h5: - image: sport-era-prod-uniapp-h5:local - build: - context: ../uniapp - dockerfile: ../docker/Dockerfile.uniapp-h5 - args: - VITE_APP_BASE_URL: ${PROD_API_BASE_URL:-https://api.sbnews.net} + image: registry.cn-guangzhou.aliyuncs.com/likeadmin/nginx:1.23.1 restart: unless-stopped network_mode: host volumes: + - ${SERVER_DIR:-../server}/public/mobile:/usr/share/nginx/html:ro - ./config/nginx/static/uniapp-h5.conf:/etc/nginx/conf.d/default.conf:ro healthcheck: test: