chore: complete infrastructure config, contracts, reference images and ui redesign artifacts
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# 丹阳公益婚恋服务平台 - Backend
|
||||
version: '3.8'
|
||||
# 丹阳公益婚恋服务平台 - 本地完整环境
|
||||
|
||||
services:
|
||||
postgres:
|
||||
@@ -89,18 +88,29 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
admin-web:
|
||||
build:
|
||||
context: ../admin-web
|
||||
dockerfile: Dockerfile
|
||||
container_name: danyang-match-admin
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: danyang-match-nginx
|
||||
depends_on:
|
||||
- backend
|
||||
backend:
|
||||
condition: service_healthy
|
||||
admin-web:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "6688:80"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost/health"]
|
||||
test: ["CMD-SHELL", "wget -qO /dev/null http://localhost/nginx-health || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user