treehouses / cli

cli 🦄 for raspberry pi images of type treehouses
https://www.npmjs.com/package/@treehouses/cli
GNU Affero General Public License v3.0
44 stars 20 forks source link

checklist for treehouses services #714

Open phamduchongan93 opened 4 years ago

phamduchongan93 commented 4 years ago

Testing on treehouses 123 image. Fill out the form if you can.

treehouses services <services-name> up

Service Name Ports Pizero Pi 4
Kolibri 8080 Yes Yes
mastodon 3000, 4000 No No
moodle 8082
netdata 19999 Yes Yes
nextcloud 8081 Yes
ntopng (docker) 8090 Yes
ntopng (docker-compose) ?
portainer 9000 Yes Yes

Command for services testing

while read -r line; do  sudo treehouses services $line up; done < <(treehouses services ports | cut -d ' ' -f1)

Use docker stats to monitor to check specs of running container. Make sure you dont overlap the ports.

Sample Output:



```CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
c26d7bfc2ad0        privatebin          0.01%               6.398MiB / 1.894GiB   0.33%               9.73kB / 612B       11.4MB / 0B         6
08ded473f1e3        ntopng              3.34%               105MiB / 1.894GiB     5.41%               148kB / 16.5kB      5.14MB / 3.53MB     29
e3363b068284        netdata_netdata_1   13.91%              48.16MiB / 1.894GiB   2.48%               18.9kB / 5.37kB     4.53MB / 184kB      33
1618e325cbee        moodledb_rpi        0.00%               6.953MiB / 1.894GiB   0.36%               13.4kB / 698B       20.7MB / 19.1MB     7
fdc4f75ff0b7        moodle_rpi          0.01%               6.168MiB / 1.894GiB   0.32%               12.8kB / 698B       6.05MB / 16.4kB     5
d8d3adc83663        mastodon-web        0.31%               242.9MiB / 1.894GiB   12.53%              4.02MB / 5.63MB     225MB / 428MB       58
10537556b55e        mastodon-redis      0.37%               1.855MiB / 1.894GiB   0.10%               4.46MB / 2.88MB     4.13MB / 10.4MB     4
22df51f1d800        mastodon-db         0.00%               7.926MiB / 1.894GiB   0.41%               1.27MB / 1.09MB     16.1MB / 48.9MB     9
b2b5138ee2a0        nextcloud           0.01%               10.03MiB / 1.894GiB   0.52%               54kB / 306B         717kB / 0B          6
518771e7aba2        pihole              0.09%               22.86MiB / 1.894GiB   1.18%               1.79MB / 52.6kB     50.6MB / 7.61MB     21
8936ea465c60        kolibri_kolibri_1   3.14%               82.32MiB / 1.894GiB   4.24%               81.3kB / 1.5MB      38.9MB / 3.77MB     58
58f0fd5c0c82        planet_planet_1     0.00%               3.383MiB / 1.894GiB   0.17%               90kB / 2.18MB       17.7MB / 19.1MB     7
a4bb702f6cfc        planet_couchdb_1    1.26%               46.67MiB / 1.894GiB   2.41%               453kB / 409kB       41.4MB / 4.45MB     33
LordJashin32 commented 4 years ago

netdata is the worst. Wow and i thought ntopng would be the highest.