Compare commits
2 Commits
8879463cb9
...
6c1321e485
Author | SHA1 | Date | |
---|---|---|---|
6c1321e485 | |||
32408e4471 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
dospin.json
|
||||
test_config.json
|
||||
test_config.yaml
|
||||
dospin
|
||||
main
|
||||
|
@ -23,4 +23,3 @@ servers:
|
||||
mount -o discard,defaults /dev/disk/by-id/scsi-0DO_Volume_volume-nyc1-01 /mnt/volume-nyc1-01
|
||||
echo /dev/disk/by-id/scsi-0DO_Volume_volume-nyc1-01 /mnt/volume-nyc1-01 ext4 defaults,nofail,discard 0 0 | tee -a /etc/fstab
|
||||
docker run -d --restart=always -p 25565:25565 -v /mnt/volume-nyc1-01/minecraft-server:/minecraft-server -w /minecraft-server -t java:8-alpine sh start.sh
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
#! /usr/bin/env sh
|
||||
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer `cat dospin.json | jq -r .ApiToken`" "https://api.digitalocean.com/v2/droplets?page=1&per_page=100&private=true" | jq .
|
@ -1,2 +0,0 @@
|
||||
#! /usr/bin/env sh
|
||||
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer `cat dospin.json | jq -r .ApiToken`" "https://api.digitalocean.com/v2/images?page=1&per_page=100&private=true" | jq .
|
@ -1,4 +0,0 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
echo Keys
|
||||
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer `cat dospin.json | jq -r .ApiToken`" "https://api.digitalocean.com/v2/account/keys" | jq .
|
@ -1,4 +0,0 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
echo Volumes
|
||||
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer `cat dospin.json | jq -r .ApiToken`" "https://api.digitalocean.com/v2/volumes" | jq .
|
Loading…
x
Reference in New Issue
Block a user