This commit is contained in:
Sakurasan
2026-07-06 01:01:38 +08:00
parent 084eb146f9
commit 0719c63ef1
7 changed files with 149 additions and 194 deletions
+3 -22
View File
@@ -1,29 +1,10 @@
services:
backend:
app:
image: ${DOCKER_USER:-mirrors2}/meoo:${VERSION:-latest}
build:
context: ./backend
# 构建时指定架构,docker buildx 自动处理
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: ${DOCKER_USER:-DOCKER_USER}/meoo-backend:${VERSION:-latest}
context: .
ports:
- "8000:8000"
env_file:
- ./backend/.env
restart: unless-stopped
frontend:
build:
context: .
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: ${DOCKER_USER:-DOCKER_USER}/meoo-frontend:${VERSION:-latest}
ports:
- "3015:3015"
depends_on:
- backend
restart: unless-stopped