DockerGC is a container that runs Grasscutter (some anime game server reimplementation) with just a single command.
# Network (just once)
docker network create gc
# Datebase (just once) (db:27017 change ip and port and delete this if you already have a database)
docker run --rm -it --network gc --name db -d mongo &
# Game server (just once download resources with -f 'yes' after that you can set -f 'no')
docker run --rm -it --network gc -v resources:/home/Grasscutter/resources -p 22102:22102/udp -p 443:443/tcp siakbary/dockergc:ubuntu-dev-6.0 -d 'mongodb://db:27017' -b 'localhost' -f 'yes'
or (if you have compose)
"docker compose up" or "docker-compose up"
- Then type "account create yourusername" if there is a new response open the game.
- Yay
Yes, Simple way is to just change localhost in file in Grasscutter Proxy to address server you want to connect to.
For server list please join:
Clone this with
git clone --recurse-submodules https://github.com/akbaryahya/DockerGC
cd DockerGC
cd gc
sh run.sh # local for jar only
sh run.sh local start # run localhost server for testing without docker
sh run.sh local clean_work # clean folder work directory
sh run.sh alpine start # run localhost server for testing with docker alpine
sh run.sh ubuntu start # run localhost server for testing with docker ubuntu
sh run.sh alpine build # Docker with alpine
sh run.sh ubuntu build # Docker with ubuntu
Func | Info |
---|---|
d | is ip address for your database server , note: use computer ip if you want to run on your own pc, no "localhost" because it is ip in container |
b | ip public server |
v | ip private server |
m | Chat Welcome message |
e | Email Welcome when registering for first time |
f | re-download resources if you type "yes" this is useful if you already have a resources folder but there is latest update |
l | Server Language and includes commands more info |
j | -Xms500M -Xmx8G more info |
Port | Info |
---|---|
80 | Web Server for HTTP. (Not required) |
443 | Web Server for HTTPS. (required) |
22102 | Game Communication (udp) (required) |
Power by Grasscutter ❤️