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} PANEL_DB_NAME: ${PANEL_DB_NAME}
shm_size: 1gb shm_size: 1gb
networks: networks:
- 1panel - 1panel-network
networks: networks:
1panel: 1panel-network:
external: true external: true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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