https://github.com/spikehd/reindev-docker-compose
docker-compose setup for ReIndev server
https://github.com/spikehd/reindev-docker-compose
Last synced: about 1 year ago
JSON representation
docker-compose setup for ReIndev server
- Host: GitHub
- URL: https://github.com/spikehd/reindev-docker-compose
- Owner: SpikeHD
- License: mit
- Created: 2025-01-18T18:11:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-18T21:54:53.000Z (over 1 year ago)
- Last Synced: 2025-01-18T22:27:05.726Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ReIndev Docker Compose
A fairly simple docker-compose setup running ReIndev or FoxLoader as a server.
# Guide
1. Clone this repository.
2. Setup your variables, folders, etc. as needed.
3. Run `docker-compose up -d`.
4. Wait for the server to start.
5. Enjoy!
## Directories
* `world` - This is where your world data will be. Or you can put an existing world in there, if you have one!
* `mods` - If using FoxLoader, this is where you should place your mod files.
* `backups` - This is where backups will be stored.
* `extra` - This is where extra config files (`ops.txt`, `server.properties`, etc.) are stored. These are mounted as volumes, so they will change if the server changes them within the container.
## Environment Variables
Set any variables you want to use in the `server.env` and `backups.env` files. There are some custom variables included, which are documented below, but you can include any!
### `server.env`
* `FOXLOADER` - Set to `true`/`1`/etc. to use FoxLoader, or `false`/`0`/etc. to use vanilla.
* **Not required**, will default to vanilla
* `SERVER_DOWNLOAD_URL` - The URL to download the vanilla server from.
* **Required** if running vanilla
* **Not required** if running FoxLoader
* `FOXLOADER_DOWNLOAD_URL` - The URL to download the FoxLoader server from.
* **Not required** if running FoxLoader (it will just download the latest release)
* **Not required** if running vanilla
### `backups.env`
* `RUN_EVERY` - How often to run the backup script, in seconds.
* **Not required**, will default to `4h`
* `KEEP_MAX` - How many backups to keep. Setting this to `0` will keep all backups.
* **Not required**, will default to `12`
# Notes
* You can switch between vanilla and FoxLoader interchangeably by changing the `FOXLOADER` variable in the `server.env` file. This does not require a rebuild!
* Changing `SERVER_DOWNLOAD_URL` or `FOXLOADER_DOWNLOAD_URL` will not have an effect if the server is already downloaded (aka will require a rebuild).