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