mirror of
https://github.com/perfect-panel/ppanel-script.git
synced 2026-07-01 02:04:34 +08:00
Update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version: '3'
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ppanel-server:
|
||||
@@ -17,28 +17,6 @@ services:
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
ppanel-admin-web:
|
||||
image: ppanel/ppanel-admin-web:beta
|
||||
container_name: ppanel-admin-web
|
||||
ports:
|
||||
- '3000:3000'
|
||||
environment:
|
||||
# Replace with actual API endpoint if needed
|
||||
NEXT_PUBLIC_API_URL: https://api.example.com
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
ppanel-user-web:
|
||||
image: ppanel/ppanel-user-web:beta
|
||||
container_name: ppanel-user-web
|
||||
ports:
|
||||
- '3001:3000'
|
||||
environment:
|
||||
# Replace with actual API endpoint if needed
|
||||
NEXT_PUBLIC_API_URL: https://api.example.com
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
mysql:
|
||||
image: mysql:8.0.23
|
||||
container_name: mysql_db
|
||||
@@ -77,6 +55,24 @@ services:
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
ppanel-admin-web:
|
||||
image: ppanel/ppanel-admin-web:beta
|
||||
container_name: ppanel-admin-web
|
||||
ports:
|
||||
- '3000:3000'
|
||||
environment:
|
||||
# Replace with actual API endpoint if needed
|
||||
NEXT_PUBLIC_API_URL: https://api.example.com
|
||||
|
||||
ppanel-user-web:
|
||||
image: ppanel/ppanel-user-web:beta
|
||||
container_name: ppanel-user-web
|
||||
ports:
|
||||
- '3001:3000'
|
||||
environment:
|
||||
# Replace with actual API endpoint if needed
|
||||
NEXT_PUBLIC_API_URL: https://api.example.com
|
||||
|
||||
networks:
|
||||
ppanel-network:
|
||||
driver: bridge
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: '3'
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ppanel-server:
|
||||
@@ -30,14 +30,14 @@ services:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- ./docker/mysql:/var/lib/mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
networks:
|
||||
- ppanel-network
|
||||
command: --default-authentication-plugin=mysql_native_password --bind-address=0.0.0.0
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-prootpassword"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
@@ -55,7 +55,6 @@ services:
|
||||
networks:
|
||||
- ppanel-network
|
||||
|
||||
|
||||
networks:
|
||||
ppanel-network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user