From a93b3ea1459b5371cb1d7afd49015ae95ff49336 Mon Sep 17 00:00:00 2001 From: token <61819790+239573049@users.noreply.github.com> Date: Wed, 7 Aug 2024 01:04:52 +0800 Subject: [PATCH] Update README.md --- README.md | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 5844d30..49aadb3 100644 --- a/README.md +++ b/README.md @@ -45,20 +45,19 @@ docker run -d --restart=always --name=gateway-api -e PASSWORD=Aa123456 -p 8080:8 ```yml -services: - gateway-api: - image: hejiale010426/gateway-api:v1.0.0 +services: + fast-gateway.service: + image: registry.token-ai.cn/ai-dotnet/fast-gateway.service:v2.0.0.0 + container_name: fast-gateway.service restart: always - container_name: gateway-api - environment: - PASSWORD: Aa123456 - ports: - - 8080:8080 # Management interface for web client - - 80:80 # HTTP proxy port - - 443:443 # HTTPS proxy port volumes: - - ./data:/data/ - - ./certs:/app/certs/ + - ./data:/app/data + - ./certs:/app/certs + ports: + - "8000:8080" + - "80:80" + - "443:443" + ``` If no password is provided, the default is: @@ -69,21 +68,19 @@ Password: Aa123456 ```yml -services: - gateway-api: - image: hejiale010426/gateway-api:v1.0.0-h3 +services: + fast-gateway.service: + image: registry.token-ai.cn/ai-dotnet/fast-gateway.service:v2.0.0.0 + container_name: fast-gateway.service restart: always - container_name: gateway-api - environment: - PASSWORD: Aa123456 - ports: - - 8080:8080 # Web management end - - 80:80 # HTTP proxy port - - 443:443/udp # HTTPS proxy port - - 443:443/tcp # HTTPS proxy port HTTP3 requires both UDP and TCP to be enabled, please check if the firewall settings allow this volumes: - - ./data:/data/ - - ./certs:/app/certs/ + - ./data:/app/data + - ./certs:/app/certs + ports: + - "8000:8080" + - "80:80" + - "443:443/udp" + - "443:443/tcp" ``` ## Using `systemd` to Start Services on Linux