mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-04 00:08:13 -05:00
1.2 KiB
1.2 KiB
Configuration Migration Guide
This guide explains how to migrate configuration files from v2board to Xboard. Xboard stores configurations in the database instead of files.
1. Docker Compose Environment
- Prepare configuration file:
# Create config directory
mkdir config
# Copy old configuration file
cp old-project-path/config/v2board.php config/
- Modify
docker-compose.yaml
, uncomment the following line:
- ./config/v2board.php:/www/config/v2board.php
- Execute migration:
docker compose run -it --rm web php artisan migrateFromV2b config
2. aaPanel Environment
- Copy configuration file:
cp old-project-path/config/v2board.php config/v2board.php
- Execute migration:
php artisan migrateFromV2b config
3. aaPanel + Docker Environment
- Copy configuration file:
cp old-project-path/config/v2board.php config/v2board.php
- Execute migration:
docker compose run -it --rm web php artisan migrateFromV2b config
Important Notes
- After modifying the admin path, service restart is required:
- Docker environment:
docker compose restart
- aaPanel environment: Restart the Octane daemon process
- Docker environment: