services.yml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. ---
  2. jupyter: # pw: letscode.00
  3. host:
  4. himbeere:
  5. fqdn: code.cere.duckdns.org
  6. docker:
  7. build: jupyter
  8. ports: 17888:80
  9. volumes:
  10. - /mnt/ssdext/data/jupyter/notebooks:/root/notebooks
  11. - /mnt/ssdext/data/jupyter/config:/root/.local
  12. - /mnt/ssdext/data/jupyter/config_root:/root/.jupyter
  13. #~ blaubeere:
  14. #~ docker:
  15. #~ build: jupyter
  16. #~ ports: 17888:8888
  17. #~ volumes:
  18. #~ - /opt/jupyter/notebooks:/root/notebooks
  19. #~ - /opt/jupyter/config:/root/.local
  20. #~ - /opt/jupyter/config_root:/root/.jupyter
  21. docker:
  22. build: jupyter
  23. domoticz:
  24. host: himbeere
  25. fqdn: domo.cere.duckdns.org
  26. docker:
  27. build: domoticz
  28. image: domoticz
  29. volumes:
  30. - /etc/localtime:/etc/localtime
  31. - /mnt/ssdext/data/domoticz/domoticz.db:/root/domoticz/domoticz.db
  32. #ports: 8080:8080
  33. devices: /dev/ttyUSB0
  34. netdata:
  35. host: himbeere
  36. #~ fqdn: netdata.cere.duckdns.org
  37. docker:
  38. hostname: himbeere
  39. build: netdata
  40. # image: reneluria/netdata
  41. cap_add: SYS_PTRACE
  42. volumes:
  43. - /proc:/host/proc:ro
  44. - /sys:/host/sys:ro
  45. - /var/run/docker.sock:/var/run/docker.sock
  46. ports: 0.0.0.0:19999:19999
  47. # https://github.com/mkueper/rpi-svn
  48. svn:
  49. host: himbeere
  50. docker:
  51. build: svn
  52. volumes:
  53. - /mnt/ssdext/data/svn:/var/svn
  54. ports: 3690:3690
  55. stop_signal: SIGKILL
  56. ngp:
  57. host: himbeere
  58. docker:
  59. - name: nginx-proxy
  60. build: ngp
  61. ports: 192.168.178.43:1080:80, 192.168.178.43:1443:443
  62. volumes:
  63. - /usr/share/nginx/html
  64. - /mnt/ssdext/data/nginx/htpasswd:/etc/nginx/htpasswd \
  65. - /var/run/docker.sock:/tmp/docker.sock:ro
  66. - /mnt/ssdext/data/nginx/certs:/etc/nginx/certs:ro
  67. # see https://github.com/jwilder/nginx-proxy#per-virtual_host
  68. - /mnt/ssdext/data/nginx/vhost.d:/etc/nginx/vhost.d:ro
  69. labels:
  70. com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
  71. commands:
  72. nginx_conf:
  73. method: exec
  74. cmd: cat /etc/nginx/conf.d/default.conf
  75. docs: show dockergen-generated config
  76. - name: ngp_le
  77. build: ngp_le
  78. volumes_from: nginx-proxy
  79. volumes:
  80. - /mnt/ssdext/data/nginx/certs:/etc/nginx/certs:rw
  81. - /var/run/docker.sock:/var/run/docker.sock:ro
  82. - /mnt/ssdext/data/nginx/vhost.d:/etc/nginx/vhost.d:rw
  83. #~ nexus:
  84. #~ host: himbeere
  85. #~ docker:
  86. #~ build: nexus
  87. #~ volumes:
  88. #~ - /etc/localtime:/etc/localtime
  89. #~ - /mnt/ssdext/data/nexus:/opt/sonatype-work
  90. #~ ports: 1381:8081
  91. #~ pypy:
  92. #~ host: himbeere
  93. #~ docker:
  94. #~ build: pypy
  95. #~ volumes:
  96. #~ - /etc/localtime:/etc/localtime
  97. piusv:
  98. host: himbeere
  99. docker:
  100. build: piusv
  101. devices: /dev/i2c-1
  102. # S.USV Daemon started..
  103. # Kann nicht auf export schreiben!
  104. # : Read-only file system
  105. privileged: true
  106. volumes: /mnt/ssdext/data/piusv/log:/var/log/
  107. commands:
  108. # Zwei I²C-Adressen sind im Einsatz – 0x0F für die S.USV und 0x68 für die Real Time Clock,
  109. # die sich auf der S.USV befindet
  110. i2cdetect: i2cdetect -y 1
  111. # Der S.USV Daemon erstellt ein Protokoll in der Datei: /var/log/susvd.log
  112. usv_logs: tail -f -n 100 /var/log/susvd.log
  113. rsync:
  114. host: himbeere
  115. docker:
  116. build: rsync
  117. volumes:
  118. - /etc/localtime:/etc/localtime
  119. - /mnt/ssdext/data:/opt/from
  120. - /mnt/hddext/backup:/opt/to
  121. restart_policy:
  122. always: 3
  123. gogs: # git server with wiki
  124. host: himbeere
  125. fqdn: git.cere.duckdns.org
  126. docker:
  127. image: gogs/gogs-rpi
  128. volumes: /mnt/ssdext/data/gogs:/data
  129. ports: 3022:22
  130. env:
  131. VIRTUAL_PORT: 3000
  132. healthcheck:
  133. test: curl -I --silent http://localhost:3000 | grep "404 Not Found"
  134. interval: 10 # seconds
  135. graphite:
  136. host: himbeere
  137. docker:
  138. build: graphite
  139. #~ image: abarbanell/docker-grafana-graphite
  140. volumes:
  141. - /mnt/ssdext/data/graphite/whisper:/opt/graphite/storage/whisper
  142. - /mnt/ssdext/data/graphite/logs:/var/log/supervisor
  143. ports:
  144. - 13080:8000
  145. - 8125:8125/udp
  146. - 8126:8126
  147. alexa: # https://alexa.amazon.de
  148. fqdn: alexa.cere.duckdns.org
  149. host: himbeere
  150. docker:
  151. build: alexa
  152. matrix: # interface with RGB LED-Matrix
  153. #~ fqdn: alexa.cere.duckdns.org
  154. host: blaubeere
  155. docker:
  156. build: matrix
  157. # matrix driver needs access to /dev/mem
  158. privileged: true
  159. ports: 17888:8888
  160. volumes:
  161. - /opt/jupyter/notebooks:/root/notebooks
  162. - /opt/jupyter/config:/root/.local
  163. - /opt/jupyter/config_root:/root/.jupyter
  164. - /opt/jupyter/config_ipy_root:/root/.ipython
  165. commands:
  166. # some rotating square
  167. demo00: examples-api-use/demo -c 4 --led-show-refresh -D0
  168. # forward scrolling an image
  169. demo01: examples-api-use/demo -c 4 --led-show-refresh -D1 examples-api-use/runtext.ppm
  170. # test image
  171. demo03: examples-api-use/demo -c 4 -D3
  172. # Abelian sandpile model (-m <time-step-ms>)
  173. demo06: examples-api-use/demo -c 4 -D6
  174. # Conway's game of life (-m <time-step-ms>)
  175. demo07: /bin/bash -c "while true; do examples-api-use/demo -c 4 -b 20 -D7 -t 15; done"
  176. # Langton's ant (-m <time-step-ms>)
  177. demo08: examples-api-use/demo -c 4 -m 1 --led-show-refresh -D8
  178. # Volume bars
  179. demo09: examples-api-use/demo -c 4 -D9
  180. # Evolution of color
  181. demo10: examples-api-use/demo -c 4 -D10
  182. # Brightness pulse generator
  183. demo11: examples-api-use/demo -c 4 --led-pwm-bits=11 -D11
  184. # python sample: rotatatin block
  185. pydemo1: bindings/python/samples/rotating-block-generator.py -c 4 --led-show-refresh
  186. # python sample: like demo01
  187. pydemo2: bindings/python/samples/image-scroller.py -c 4 --led-show-refresh -i examples-api-use/runtext.ppm
  188. # python sample: rotatatin block
  189. pydemo3: bindings/python/samples/simple-square.py -c 4 --led-show-refresh
  190. vaping:
  191. host: erdbeere
  192. docker:
  193. build: vaping
  194. ports: 6080:7021