Compare commits

...

2 Commits

Author SHA1 Message Date
6c1321e485 Remove scripts 2017-01-28 15:19:45 -06:00
32408e4471 Rename test_config.json to test_cofig.yaml in gitignore 2017-01-28 15:02:05 -06:00
6 changed files with 1 additions and 14 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
dospin.json
test_config.json
test_config.yaml
dospin
main

View File

@ -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

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .