feat: 1panel -> 1panel-network

This commit is contained in:
zhengkunwang223 2023-02-13 11:30:25 +04:00
parent fc235baf16
commit dfaff5abc7
12 changed files with 24 additions and 24 deletions

View File

@ -21,8 +21,8 @@ services:
PANEL_DB_NAME: ${PANEL_DB_NAME}
shm_size: 1gb
networks:
- 1panel
- 1panel-network
networks:
1panel:
1panel-network:
external: true

View File

@ -5,7 +5,7 @@ services:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel
- 1panel-network
volumes:
- ./data:/root/.halo
ports:
@ -22,5 +22,5 @@ services:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -17,12 +17,12 @@ services:
max-file: "10"
driver: json-file
networks:
- 1panel
- 1panel-network
volumes:
- ./data:/data
labels:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -8,7 +8,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
networks:
- 1panel
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
@ -23,5 +23,5 @@ services:
labels:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -8,7 +8,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
networks:
- 1panel
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
@ -22,5 +22,5 @@ services:
- --default-authentication-plugin=mysql_native_password
networks:
1panel:
1panel-network:
external: true

View File

@ -8,10 +8,10 @@ services:
environment:
- PMA_HOST=${PANEL_DB_HOST}
networks:
- 1panel
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -11,8 +11,8 @@
},
{
"type": "password",
"labelZh": "密码",
"labelEn": "Password",
"labelZh": "Redis 密码",
"labelEn": "Redis Password",
"required": true,
"default": "eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81",
"envKey": "PANEL_DB_ROOT_PASSWORD"

View File

@ -6,7 +6,7 @@ services:
image: rediscommander/redis-commander:latest
restart: always
networks:
- 1panel
- 1panel-network
environment:
- REDIS_HOSTS=1panel:${PANEL_REDIS_HOST}:6379:0:${PANEL_DB_ROOT_PASSWORD}
ports:
@ -14,5 +14,5 @@ services:
labels:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -4,7 +4,7 @@ services:
image: redis:6.0.16
restart: always
networks:
- 1panel
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: redis-server /etc/redis/redis.conf --save 20 1 --loglevel warning --requirepass ${PANEL_DB_ROOT_PASSWORD}
@ -16,5 +16,5 @@ services:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -4,7 +4,7 @@ services:
image: redis:7.0.5
restart: always
networks:
- 1panel
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: redis-server /etc/redis/redis.conf --requirepass ${PANEL_DB_ROOT_PASSWORD}
@ -16,5 +16,5 @@ services:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -7,7 +7,7 @@ services:
- ${PANEL_APP_PORT_HTTP}:80
restart: always
networks:
- 1panel
- 1panel-network
volumes:
- ./data:/var/www/html
environment:
@ -20,5 +20,5 @@ services:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true

View File

@ -7,7 +7,7 @@ services:
- ${PANEL_APP_PORT_HTTP}:80
restart: always
networks:
- 1panel
- 1panel-network
volumes:
- ./data:/var/www/html
environment:
@ -20,5 +20,5 @@ services:
createdBy: "Apps"
networks:
1panel:
1panel-network:
external: true