mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 12:07:56 +00:00
add commands to start on boot
This commit is contained in:
parent
2272e874f5
commit
70e1791001
@ -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
|
||||
|
@ -6,3 +6,4 @@ services:
|
||||
- "25565:25565"
|
||||
volumes:
|
||||
- ./minecraft/world:/root/world
|
||||
restart: always
|
||||
|
Loading…
x
Reference in New Issue
Block a user