services.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. ---
  2. jupyter: # pw: letscode.00
  3. host: himbeere
  4. fqdn: code.cere.duckdns.org
  5. docker:
  6. build: jupyter
  7. ports: 17888:80
  8. volumes:
  9. - /mnt/ssdext/data/jupyter/notebooks:/root/notebooks
  10. - /mnt/ssdext/data/jupyter/config:/root/.local
  11. - /mnt/ssdext/data/jupyter/config_root:/root/.jupyter
  12. domoticz:
  13. host: himbeere
  14. fqdn: domo.cere.duckdns.org
  15. docker:
  16. build: domoticz
  17. image: domoticz
  18. volumes:
  19. - /etc/localtime:/etc/localtime
  20. - /mnt/ssdext/data/domoticz/domoticz.db:/root/domoticz/domoticz.db
  21. #ports: 8080:8080
  22. devices: /dev/ttyUSB0
  23. netdata:
  24. host: himbeere
  25. #~ fqdn: netdata.cere.duckdns.org
  26. docker:
  27. hostname: himbeere
  28. build: netdata
  29. # image: reneluria/netdata
  30. cap_add: SYS_PTRACE
  31. volumes:
  32. - /proc:/host/proc:ro
  33. - /sys:/host/sys:ro
  34. - /var/run/docker.sock:/var/run/docker.sock
  35. ports: 0.0.0.0:19999:19999
  36. # https://github.com/mkueper/rpi-svn/blob/master/Dockerfile
  37. svn:
  38. host: himbeere
  39. docker:
  40. build: svn
  41. volumes:
  42. - /mnt/ssdext/data/svn:/var/svn
  43. ports: 3690:3690
  44. stop_signal: SIGKILL
  45. ngp:
  46. host: himbeere
  47. docker:
  48. - name: nginx-proxy
  49. build: ngp
  50. ports: 192.168.178.43:1080:80, 192.168.178.43:1443:443
  51. volumes:
  52. - /usr/share/nginx/html
  53. - /mnt/ssdext/data/nginx/htpasswd:/etc/nginx/htpasswd \
  54. - /var/run/docker.sock:/tmp/docker.sock:ro
  55. - /mnt/ssdext/data/nginx/certs:/etc/nginx/certs:ro
  56. # see https://github.com/jwilder/nginx-proxy#per-virtual_host
  57. - /mnt/ssdext/data/nginx/vhost.d:/etc/nginx/vhost.d:ro
  58. labels:
  59. com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
  60. commands:
  61. nginx_conf:
  62. method: exec
  63. cmd: cat /etc/nginx/conf.d/default.conf
  64. docs: show dockergen-generated config
  65. - name: ngp_le
  66. build: ngp_le
  67. volumes_from: nginx-proxy
  68. volumes:
  69. - /mnt/ssdext/data/nginx/certs:/etc/nginx/certs:rw
  70. - /var/run/docker.sock:/var/run/docker.sock:ro
  71. - /mnt/ssdext/data/nginx/vhost.d:/etc/nginx/vhost.d:rw
  72. #~ nexus:
  73. #~ host: himbeere
  74. #~ docker:
  75. #~ build: nexus
  76. #~ volumes:
  77. #~ - /etc/localtime:/etc/localtime
  78. #~ - /mnt/ssdext/data/nexus:/opt/sonatype-work
  79. #~ ports: 1381:8081
  80. #~ pypy:
  81. #~ host: himbeere
  82. #~ docker:
  83. #~ build: pypy
  84. #~ volumes:
  85. #~ - /etc/localtime:/etc/localtime
  86. piusv:
  87. host: himbeere
  88. docker:
  89. build: piusv
  90. devices: /dev/i2c-1
  91. # S.USV Daemon started..
  92. # Kann nicht auf export schreiben!
  93. # : Read-only file system
  94. privileged: true
  95. volumes: /mnt/ssdext/data/piusv/log:/var/log/
  96. commands:
  97. # Zwei I²C-Adressen sind im Einsatz – 0x0F für die S.USV und 0x68 für die Real Time Clock,
  98. # die sich auf der S.USV befindet
  99. i2cdetect: i2cdetect -y 1
  100. # Der S.USV Daemon erstellt ein Protokoll in der Datei: /var/log/susvd.log
  101. usv_logs: tail -f -n 100 /var/log/susvd.log
  102. rsync:
  103. host: himbeere
  104. docker:
  105. build: rsync
  106. volumes:
  107. - /etc/localtime:/etc/localtime
  108. - /mnt/ssdext/data:/opt/from
  109. - /mnt/hddext/backup:/opt/to
  110. restart_policy:
  111. always: 3
  112. gogs:
  113. host: himbeere
  114. fqdn: git.cere.duckdns.org
  115. docker:
  116. image: gogs/gogs-rpi
  117. volumes: /mnt/ssdext/data/gogs:/data
  118. ports: 3022:22
  119. env:
  120. VIRTUAL_PORT: 3000
  121. graphite:
  122. host: himbeere
  123. docker:
  124. build: graphite
  125. #~ image: abarbanell/docker-grafana-graphite
  126. volumes:
  127. - /mnt/ssdext/data/graphite/whisper:/opt/graphite/storage/whisper
  128. - /mnt/ssdext/data/graphite/logs:/var/log/supervisor
  129. ports:
  130. - 13080:8000
  131. - 8125:8125/udp
  132. - 8126:8126
  133. alexa:
  134. fqdn: alexa.cere.duckdns.org
  135. host: himbeere
  136. docker:
  137. build: alexa
  138. matrix:
  139. #~ fqdn: alexa.cere.duckdns.org
  140. host: blaubeere
  141. docker:
  142. build: matrix
  143. # matrix driver needs access to /dev/mem
  144. privileged: true
  145. commands:
  146. # some rotating square
  147. demo0: examples-api-use/demo -c 2 --led-show-refresh -D0
  148. # forward scrolling an image
  149. demo1: examples-api-use/demo -c 2 --led-show-refresh -D1 examples-api-use/runtext.ppm
  150. # test image
  151. demo3: examples-api-use/demo -c 2 -D3
  152. # Abelian sandpile model
  153. demo6: examples-api-use/demo -c 2 -b 20 -D6
  154. # Conway's game of life
  155. demo7: examples-api-use/demo -c 2 -b 20 -D7
  156. # Volume bars
  157. demo9: examples-api-use/demo -c 2 -D9
  158. # Evolution of color
  159. demo10: examples-api-use/demo -c 2 -D10
  160. # Brightness pulse generator
  161. demo11: examples-api-use/demo -c 2 --led-pwm-bits=11 -D11