Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
239573049 authored Aug 6, 2024
1 parent 3ea72d3 commit a93b3ea
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit a93b3ea

Please sign in to comment.