services.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ---
  2. domoticz:
  3. host: himbeere
  4. fqdn: domo.cere.duckdns.org
  5. docker:
  6. build: domoticz
  7. image: domoticz
  8. volumes:
  9. - /etc/localtime:/etc/localtime
  10. - /opt/fast/domoticz/domoticz.db:/root/domoticz/domoticz.db
  11. #ports: 8080:8080
  12. devices: /dev/ttyUSB0
  13. netdata:
  14. host: himbeere
  15. #~ fqdn: netdata.cere.duckdns.org
  16. docker:
  17. hostname: himbeere
  18. build: netdata
  19. # image: reneluria/netdata
  20. cap_add: SYS_PTRACE
  21. volumes:
  22. - /proc:/host/proc:ro
  23. - /sys:/host/sys:ro
  24. - /var/run/docker.sock:/var/run/docker.sock
  25. ports: 0.0.0.0:19999:19999
  26. # https://github.com/mkueper/rpi-svn/blob/master/Dockerfile
  27. svn:
  28. host: himbeere
  29. docker:
  30. build: svn
  31. volumes:
  32. - /opt/fast/svn:/var/svn
  33. ports: 3690:3690
  34. stop_signal: SIGKILL
  35. ngp:
  36. host: himbeere
  37. docker:
  38. - name: nginx-proxy
  39. build: ngp
  40. ports: 192.168.178.43:1080:80, 192.168.178.43:1443:443
  41. volumes:
  42. - /usr/share/nginx/html
  43. - /opt/fast/nginx/htpasswd:/etc/nginx/htpasswd \
  44. - /var/run/docker.sock:/tmp/docker.sock:ro
  45. - /opt/fast/nginx/certs:/etc/nginx/certs:ro
  46. # see https://github.com/jwilder/nginx-proxy#per-virtual_host
  47. - /opt/fast/nginx/vhost.d:/etc/nginx/vhost.d:ro
  48. commands:
  49. nginx_conf:
  50. method: exec
  51. cmd: cat /etc/nginx/conf.d/default.conf
  52. docs: show dockergen-generated config
  53. - name: ngp_le
  54. build: ngp_le
  55. volumes_from: nginx-proxy
  56. volumes:
  57. - /opt/fast/nginx/certs:/etc/nginx/certs:rw
  58. - /var/run/docker.sock:/var/run/docker.sock:ro
  59. - /opt/fast/nginx/vhost.d:/etc/nginx/vhost.d:rw
  60. #~ nexus:
  61. #~ host: himbeere
  62. #~ docker:
  63. #~ build: nexus
  64. #~ volumes:
  65. #~ - /etc/localtime:/etc/localtime
  66. #~ - /opt/fast/nexus:/opt/sonatype-work
  67. #~ ports: 1381:8081
  68. #~ pypy:
  69. #~ host: himbeere
  70. #~ docker:
  71. #~ build: pypy
  72. #~ volumes:
  73. #~ - /etc/localtime:/etc/localtime
  74. rsync:
  75. host: himbeere
  76. docker:
  77. build: rsync
  78. volumes:
  79. - /etc/localtime:/etc/localtime
  80. - /mnt/ssdext/docker_fast_volumes:/opt/from
  81. - /mnt/hddext/backup:/opt/to
  82. gogs:
  83. host: himbeere
  84. fqdn: git.cere.duckdns.org
  85. docker:
  86. image: gogs/gogs-rpi
  87. volumes: /opt/fast/gogs:/data
  88. ports: 3022:22
  89. env:
  90. VIRTUAL_PORT: 3000