ng代理minio支持websocket
This commit is contained in:
@@ -165,6 +165,28 @@ services:
|
||||
networks:
|
||||
- redfuture-net
|
||||
|
||||
# ---- Gitea (Git 代码托管) ----
|
||||
gitea:
|
||||
image: docker.m.daocloud.io/gitea/gitea:latest
|
||||
container_name: gitea
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:2222"
|
||||
environment:
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
GITEA__server__SSH_PORT: "2222"
|
||||
volumes:
|
||||
- /data/gitea:/data
|
||||
networks:
|
||||
- redfuture-net
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
# ---- Nginx 反向代理 ----
|
||||
nginx:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user