This commit is contained in:
doudou201703
2026-08-04 09:05:02 +08:00
parent 2b6fd6813e
commit da1c3e467d
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -12,6 +12,9 @@ services:
- redisData:/data
networks:
- xiao_network
django_postgres: # postgres镜像
image: postgres
container_name: django_postgres
@@ -30,7 +33,7 @@ services:
django_frps:
image: snowdreamtech/frps
container_name: xiao_frps
container_name: django_frps
restart: unless-stopped
volumes:
- /home/ubuntu/sixfrps.toml:/etc/frp/frps.toml
@@ -48,6 +51,7 @@ services:
container_name: django_caddy
volumes:
- /home/ubuntu/Caddyfile:/etc/caddy/Caddyfile
- caddyData:/data
ports:
- "80:80"
- "443:443" # HTTPS 端口
@@ -63,7 +67,7 @@ services:
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__server__ROOT_URL=https://gitea.sixgou.com/
- GITEA__server__ROOT_URL=https://caddy.sixgou.com/
restart: always
volumes:
- gitea:/data
+1 -1
View File
@@ -33,7 +33,7 @@ customDomains = ["xiao.sixgou.com"]
name = "wechat-django"
type = "http"
localIP = "127.0.0.1" #localIP = "host.docker.internal"
localPort = 3000 # 这里的端口号: 就是监听的本地服务的端口号
localPort = 8000 # 这里的端口号: 就是监听的本地服务的端口号
customDomains = ["wechat.sixgou.com"]