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 - redisData:/data
networks: networks:
- xiao_network - xiao_network
django_postgres: # postgres镜像 django_postgres: # postgres镜像
image: postgres image: postgres
container_name: django_postgres container_name: django_postgres
@@ -30,7 +33,7 @@ services:
django_frps: django_frps:
image: snowdreamtech/frps image: snowdreamtech/frps
container_name: xiao_frps container_name: django_frps
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /home/ubuntu/sixfrps.toml:/etc/frp/frps.toml - /home/ubuntu/sixfrps.toml:/etc/frp/frps.toml
@@ -48,6 +51,7 @@ services:
container_name: django_caddy container_name: django_caddy
volumes: volumes:
- /home/ubuntu/Caddyfile:/etc/caddy/Caddyfile - /home/ubuntu/Caddyfile:/etc/caddy/Caddyfile
- caddyData:/data
ports: ports:
- "80:80" - "80:80"
- "443:443" # HTTPS 端口 - "443:443" # HTTPS 端口
@@ -63,7 +67,7 @@ services:
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
- GITEA__server__ROOT_URL=https://gitea.sixgou.com/ - GITEA__server__ROOT_URL=https://caddy.sixgou.com/
restart: always restart: always
volumes: volumes:
- gitea:/data - gitea:/data
+1 -1
View File
@@ -33,7 +33,7 @@ customDomains = ["xiao.sixgou.com"]
name = "wechat-django" name = "wechat-django"
type = "http" type = "http"
localIP = "127.0.0.1" #localIP = "host.docker.internal" localIP = "127.0.0.1" #localIP = "host.docker.internal"
localPort = 3000 # 这里的端口号: 就是监听的本地服务的端口号 localPort = 8000 # 这里的端口号: 就是监听的本地服务的端口号
customDomains = ["wechat.sixgou.com"] customDomains = ["wechat.sixgou.com"]