Create .env file
WORDPRESS_DB_PASSWORD=wordpress123
MYSQL_ROOT_PASSWORD=somewordpress
MYSQL_PASSWORD=wordpress123
GRAPHQL_JWT_AUTH_SECRET_KEY=your-hwt-auth-secret-key
WP_HOME_URL=http://localhost // your site url
WP_DOMAIN=localhost // your site domain
WP_HOST=80 // your site port
docker compose up -d
This project includes all template-adapted data that will be automatically imported during Docker startup.
Access http://your.site.ip/wp-admin/admin.php
to verify if the service is running successfully.
The default admin login info is
UserName: admin, Password: 12345
Remember to change your password after logged in to ensure safety of your site.
To ensure the frontend application can properly access service data, please confirm the server meets the minimum hardware requirements of 2 CPU cores and 2GB RAM.