修改镜像名可以直接运行
All checks were successful
Build and Push Docker Images / build-and-push (backend) (push) Successful in 17s
Build and Push Docker Images / build-and-push (frontend) (push) Successful in 18s

This commit is contained in:
zfxt-ubuntu
2025-09-04 12:44:27 +08:00
parent 2360e0b80c
commit c3648d1102

View File

@@ -2,7 +2,7 @@ version: '3.8'
services:
frontend:
image: gitea.zfxt.top/zfxt/frontend:latest
image: gitea.zfxt.top:8443/zfxt/frontend:latest
container_name: my-frontend-web
ports:
- "5555:5555"
@@ -13,7 +13,7 @@ services:
# 移除了build配置因为我们现在使用预构建的镜像
backend:
image: gitea.zfxt.top/zfxt/backend:latest
image: gitea.zfxt.top:8443/zfxt/backend:latest
container_name: my-backend-api
networks:
- app-network
@@ -21,4 +21,4 @@ services:
networks:
app-network:
driver: bridge
driver: bridge