six_002
This commit is contained in:
@@ -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
@@ -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"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user