services.yml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. graphite:
  133. host: himbeere
  134. docker:
  135. build: graphite
  136. #~ image: abarbanell/docker-grafana-graphite
  137. volumes:
  138. - /mnt/ssdext/data/graphite/whisper:/opt/graphite/storage/whisper
  139. - /mnt/ssdext/data/graphite/logs:/var/log/supervisor
  140. ports:
  141. - 13080:8000
  142. - 8125:8125/udp
  143. - 8126:8126
  144. alexa: # https://alexa.amazon.de
  145. fqdn: alexa.cere.duckdns.org
  146. host: himbeere
  147. docker:
  148. build: alexa
  149. matrix: # interface with RGB LED-Matrix
  150. #~ fqdn: alexa.cere.duckdns.org
  151. host: blaubeere
  152. docker:
  153. build: matrix
  154. # matrix driver needs access to /dev/mem
  155. privileged: true
  156. ports: 17888:8888
  157. volumes:
  158. - /opt/jupyter/notebooks:/root/notebooks
  159. - /opt/jupyter/config:/root/.local
  160. - /opt/jupyter/config_root:/root/.jupyter
  161. - /opt/jupyter/config_ipy_root:/root/.ipython
  162. commands:
  163. # some rotating square
  164. demo00: examples-api-use/demo -c 4 -L --led-show-refresh -D0
  165. # forward scrolling an image
  166. demo01: examples-api-use/demo -c 4 -L --led-show-refresh -D1 examples-api-use/runtext.ppm
  167. # test image
  168. demo03: examples-api-use/demo -c 4 -L -D3
  169. # Abelian sandpile model (-m <time-step-ms>)
  170. demo06: examples-api-use/demo -c 4 -L -D6
  171. # Conway's game of life (-m <time-step-ms>)
  172. demo07: /bin/bash -c "while true; do examples-api-use/demo -c 4 -L -b 5 -D7 -t 15; done"
  173. # Langton's ant (-m <time-step-ms>)
  174. demo08: examples-api-use/demo -c 4 -L -m 1 --led-show-refresh -D8
  175. # Volume bars
  176. demo09: examples-api-use/demo -c 4 -L -D9
  177. # Evolution of color
  178. demo10: examples-api-use/demo -c 4 -L -D10
  179. # Brightness pulse generator
  180. demo11: examples-api-use/demo -c 4 -L --led-pwm-bits=11 -D11
  181. # python sample: rotatatin block
  182. pydemo1: bindings/python/samples/rotating-block-generator.py -c 4 -L --led-show-refresh
  183. # python sample: like demo01
  184. pydemo2: bindings/python/samples/image-scroller.py -c 4 -L --led-show-refresh -i examples-api-use/runtext.ppm
  185. # python sample: rotatatin block
  186. pydemo3: bindings/python/samples/simple-square.py -c 4 -L --led-show-refresh