mirror of
https://gitlab.bmcstudios.org/public_projects/swg-server-docker.git
synced 2026-01-16 17:04:26 -05:00
Updated README
This commit is contained in:
14
README.md
14
README.md
@@ -11,6 +11,20 @@ This project sets up a development environment for SWG using Docker.
|
||||
5. Run `ant swg` to compile the game and the assets.
|
||||
6. Run `ant start` to run the server.
|
||||
|
||||
#### Completely wiping your local Docker environment
|
||||
|
||||
> docker compose down -v
|
||||
|
||||
This will remove all the volumes, including the database and the swg-main project directory. You will have to recompile the
|
||||
project all over again.
|
||||
|
||||
#### Shutting down your Container, Safely, Without Loss
|
||||
|
||||
> docker compose down
|
||||
|
||||
This will shut down the container, but it will keep the volumes, i.e., your database will stay, and your swg-main project
|
||||
directory will be kept intact.
|
||||
|
||||
## Custom Repository
|
||||
|
||||
You can configure the Docker build to pull the `swg-main` source from your own repository. Create a file named `.env` in the root of this project and add the following variables as needed.
|
||||
|
||||
Reference in New Issue
Block a user