Files
auv/docker-compose.yml
T
2026-07-05 21:29:17 +08:00

30 lines
649 B
YAML

services:
backend:
build:
context: ./backend
# 构建时指定架构,docker buildx 自动处理
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: ${DOCKER_USER:-DOCKER_USER}/meoo-backend:${VERSION:-latest}
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