diff --git a/README.md b/README.md index a9010bf..d3490c5 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,13 @@ Forward the following ports to the server. | terraria | 7777 | | wireguard | 51820 | +Run the following commands. + ``` -docker compose build +apt install docker.io +apt install docker-compose +docker-compose build +docker-compose up -d # auto restarts on reboot! ``` -TODO service that runs on boot (and restarts/stops gracefully) TODO backup script diff --git a/compose.yml b/compose.yml index e821f1b..34b2c7f 100644 --- a/compose.yml +++ b/compose.yml @@ -6,3 +6,4 @@ services: - "25565:25565" volumes: - ./minecraft/world:/root/world + restart: always