feat: new file

This commit is contained in:
Daniel
2026-04-12 17:56:12 +08:00
parent d7d892c845
commit a40e565867
6 changed files with 27 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
# 基础镜像走国内 Docker Hub 代理DaoCloud稳定性较好若失败可改为 docker.1ms.run/library
services:
db:
image: postgres:16-alpine
image: docker.m.daocloud.io/library/postgres:16-alpine
container_name: exam-helper-db
restart: unless-stopped
environment:
@@ -33,7 +34,7 @@ services:
db:
condition: service_healthy
ports:
- "8001:8000"
- "8866:8000"
frontend:
build:
@@ -43,7 +44,7 @@ services:
depends_on:
- backend
ports:
- "5173:80"
- "8173:80"
volumes:
postgres_data: