"Dockerized for your convenience by these fine lads."
- Quick setup
- Quick start
- Quick stop
- View server log
- Note on scripts
- Enabling scripts
- Manual backup
- Ramdisk enhanced setup
- Exporting from ram-disk
- Importing to ram-disk
- Clearing ram-disk
- Deleting ram-disk
- Comments or questions?
- Requests or suggestions?
- Encountering a bug?
- Install docker
- Navigate to the downloads here, select the latest version, and download the server files under the "additional files" section.
- Unzip into the data directory
- (optional) Configure the ./data/server.properties file.
- (optional) Configure docker-compose.yml file's INIT_MEMORY and MAX_MEMORY definitions (default is 8G, 16G respectively).
It's that simple.
Run the following command at the root directory:
docker compose up -d
Run the following command:
docker stop vault_hunters
Note that the server will automatically save when the container is stopped.
Run the following command:
docker logs vault_hunters -f
This can be used to monitor the health of your server and debug problems during runtime.
Execute all scripts from the root directory on the host PC.
Make scripts executable by running the following commands:
chmod +x ./scripts/ram_disk/*.sh
chmod +x ./scripts/*.sh
Run the following script:
./scripts/backup.sh
This repo supports the use of a ram-disk to further improve server load times and general responsiveness. Ram-disks are temporary mounts that do not persist after reboot. You have been warned.
- Install docker
- Download files from here
- Unzip into the data directory
- (optional) Configure the ./data/server.properties file.
- (optional) Configure docker-compose.yml file's INIT_MEMORY and MAX_MEMORY definitions (default is 8G, 16G respectively).
- Create ram-disk:
./scripts/ram_disk/create.sh
- Import the contents of
data
directory intoram_disk
directory:
./scripts/ram_disk/data_import.sh
- Modify the docker-compose.yml file to uncomment the RAM-DISK volumes and working_dir definitions and comment the DATA FS volumes and working_dir definitions.
- Run the following command:
docker compose up -d
- Run the following command:
docker stop vault_hunters
To export data from the ram-disk, there are two provided methods:
./scripts/ram_disk/data_export.sh
copies the contents of theram_disk
directory and overwrites the contents of thedata
directory../scripts/ram_disk/zip_export.sh
copies the contents of theram_disk
directory and creates a new zip archive in theexports
directory.
Examples:
# ram_disk -> data
./script/ram_disk/data_export.sh
# ram_disk -> export/%.zip
./script/ram_disk/zip_export.sh
To import data into the ram-disk, there are two provided methods:
./scripts/ram_disk/data_import.sh
copies the contents of thedata
directory and overwrites the contents of theram_disk
directory../scripts/ram_disk/zip_import.sh ZIP_FILE_PATH
unzips the the specified zip archive and overwrites the contents of theram_disk
directory.
Examples:
# data -> ram_disk
./scripts/ram_disk/data_import.sh
# export/%.zip -> ram_disk
./scripts/ram_disk/zip_import.sh ./exports/####.zip
To clear the contents of the ram-disk, run the following script:
./scripts/ram_disk/clear.sh
To delete the ram-disk mount, run the following script:
./scripts/ram_disk/delete.sh
To prevent accidental loss of data, the contents of the ram_disk directory must be empty.
Open a new question here.
Submit a new feature request here.
Create a new bug report here.