-
Notifications
You must be signed in to change notification settings - Fork 25
Docker Deployment
ReactX edited this page Mar 12, 2025
·
1 revision
You can deploy the server locally using Docker with our docker-compose file.
Important: This docker-compose deployment is intended for testing and local development. Do NOT use the docker-compose.yml
file as is for production. It is not considered stable yet.
The deployment includes the following containers:
- 🎮 Game Server: Runs a web server based on a custom Docker image built from server/Dockerfile.
- 💿 MariaDB: Provides the database backend.
- 💿 Redis: Provides the caching backend
- 📄 phpMyAdmin: Allows you to manage and inspect the database.
- Install Docker
- Navigate to the cloned repository in your terminal
- Create your
.env
environment file fromdocker-example.env
cp docker-example.env .env
The .env
file is populated with default values. Again, these are NOT safe to use in production.
If you wish to customize your installation, change the values in your .env
file and note the descriptions above each entry.
- Start the deployment:
docker compose up
- Verify that services are running (values may differ if customized):
- Game Server: Visit http://localhost:3001 to confirm the API is online.
- phpMyAdmin: Access http://localhost:8080. Use the default credentials (username: bymr, password: bymr) or update them in docker-compose.yml.
- Connect to the server: Use the latest release of the SWF file or compile it manually (instructions provided below).
Donate to the development of this project at: https://bymrefitted.com