feat: new file
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user