L2J Server Docker provides a simple and modular way to run the L2J login and game server stack with Docker Compose.
Before running the stack, make sure Docker is installed.
If Docker Compose is already installed on your system.
Clone this repository:
git clone https://github.com/nonom/l2j-server-docker.gitFor Linux users running Docker, install and run make.
make up
make logs
make downFor Windows users running Docker Desktop, use compose bat.
.\compose up
.\compose logs
.\compose downUse make or compose to start and stop the full stack.
You can override any environment variable in your .env file.
The .env.example file is included for that purpose. Copy this file if you want to store your own credentials.
A data folder is created and initialized based on the server compose files environment configuration, this is an experimental feature. Some examples are provided in the examples/ folder to show how to retrieve and customize your data files.
The data/ folder is created in your directory, so you can safely store your customizations.
Create a folder inside server/, add your compose.yml and customize your own data files.
No make or compose command removes the database volume. Rebuilding images or recreating containers does not delete the database data.
The database will still use the same credentials defined in the .env file.
If you want to delete the database data, stop the stack first, and remove it manually.
docker volume rm l2j-server-docker_l2j-database-data- Provide more services examples.
- Keep composing as simple as possible.
- Prepare a docs/ folder.
- Improve this README.