|
|
@@ -1,15 +1,28 @@
|
|
|
---
|
|
|
|
|
|
jupyter: # pw: letscode.00
|
|
|
- host: himbeere
|
|
|
- fqdn: code.cere.duckdns.org
|
|
|
+ host:
|
|
|
+ himbeere:
|
|
|
+ fqdn: code.cere.duckdns.org
|
|
|
+ docker:
|
|
|
+ build: jupyter
|
|
|
+ ports: 17888:80
|
|
|
+ volumes:
|
|
|
+ - /mnt/ssdext/data/jupyter/notebooks:/root/notebooks
|
|
|
+ - /mnt/ssdext/data/jupyter/config:/root/.local
|
|
|
+ - /mnt/ssdext/data/jupyter/config_root:/root/.jupyter
|
|
|
+
|
|
|
+ #~ blaubeere:
|
|
|
+ #~ docker:
|
|
|
+ #~ build: jupyter
|
|
|
+ #~ ports: 17888:8888
|
|
|
+ #~ volumes:
|
|
|
+ #~ - /opt/jupyter/notebooks:/root/notebooks
|
|
|
+ #~ - /opt/jupyter/config:/root/.local
|
|
|
+ #~ - /opt/jupyter/config_root:/root/.jupyter
|
|
|
docker:
|
|
|
build: jupyter
|
|
|
- ports: 17888:80
|
|
|
- volumes:
|
|
|
- - /mnt/ssdext/data/jupyter/notebooks:/root/notebooks
|
|
|
- - /mnt/ssdext/data/jupyter/config:/root/.local
|
|
|
- - /mnt/ssdext/data/jupyter/config_root:/root/.jupyter
|
|
|
+
|
|
|
|
|
|
domoticz:
|
|
|
host: himbeere
|
|
|
@@ -37,7 +50,7 @@ netdata:
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
ports: 0.0.0.0:19999:19999
|
|
|
|
|
|
-# https://github.com/mkueper/rpi-svn/blob/master/Dockerfile
|
|
|
+# https://github.com/mkueper/rpi-svn
|
|
|
svn:
|
|
|
host: himbeere
|
|
|
docker:
|
|
|
@@ -122,7 +135,7 @@ rsync:
|
|
|
|
|
|
|
|
|
|
|
|
-gogs:
|
|
|
+gogs: # git server with wiki
|
|
|
host: himbeere
|
|
|
fqdn: git.cere.duckdns.org
|
|
|
docker:
|
|
|
@@ -145,36 +158,48 @@ graphite:
|
|
|
- 8125:8125/udp
|
|
|
- 8126:8126
|
|
|
|
|
|
-alexa:
|
|
|
+alexa: # https://alexa.amazon.de
|
|
|
fqdn: alexa.cere.duckdns.org
|
|
|
host: himbeere
|
|
|
docker:
|
|
|
build: alexa
|
|
|
|
|
|
-matrix:
|
|
|
+matrix: # interface with RGB LED-Matrix
|
|
|
#~ fqdn: alexa.cere.duckdns.org
|
|
|
host: blaubeere
|
|
|
docker:
|
|
|
build: matrix
|
|
|
# matrix driver needs access to /dev/mem
|
|
|
privileged: true
|
|
|
+ ports: 17888:8888
|
|
|
+ volumes:
|
|
|
+ - /opt/jupyter/notebooks:/root/notebooks
|
|
|
+ - /opt/jupyter/config:/root/.local
|
|
|
+ - /opt/jupyter/config_root:/root/.jupyter
|
|
|
+ - /opt/jupyter/config_ipy_root:/root/.ipython
|
|
|
commands:
|
|
|
# some rotating square
|
|
|
- demo00: examples-api-use/demo -c 2 --led-show-refresh -D0
|
|
|
+ demo00: examples-api-use/demo -c 4 -L --led-show-refresh -D0
|
|
|
# forward scrolling an image
|
|
|
- demo01: examples-api-use/demo -c 2 --led-show-refresh -D1 examples-api-use/runtext.ppm
|
|
|
+ demo01: examples-api-use/demo -c 4 -L --led-show-refresh -D1 examples-api-use/runtext.ppm
|
|
|
# test image
|
|
|
- demo03: examples-api-use/demo -c 2 -D3
|
|
|
+ demo03: examples-api-use/demo -c 4 -L -D3
|
|
|
# Abelian sandpile model (-m <time-step-ms>)
|
|
|
- demo06: examples-api-use/demo -c 2 -D6
|
|
|
+ demo06: examples-api-use/demo -c 4 -L -D6
|
|
|
# Conway's game of life (-m <time-step-ms>)
|
|
|
- demo07: examples-api-use/demo -c 2 -b 50 -m 50 -D7
|
|
|
+ demo07: /bin/bash -c "while true; do examples-api-use/demo -c 4 -L -b 5 -D7 -t 15; done"
|
|
|
# Langton's ant (-m <time-step-ms>)
|
|
|
- demo08: examples-api-use/demo -c 2 -m 1 --led-show-refresh -D8
|
|
|
+ demo08: examples-api-use/demo -c 4 -L -m 1 --led-show-refresh -D8
|
|
|
# Volume bars
|
|
|
- demo09: examples-api-use/demo -c 2 -D9
|
|
|
+ demo09: examples-api-use/demo -c 4 -L -D9
|
|
|
# Evolution of color
|
|
|
- demo10: examples-api-use/demo -c 2 -D10
|
|
|
+ demo10: examples-api-use/demo -c 4 -L -D10
|
|
|
# Brightness pulse generator
|
|
|
- demo11: examples-api-use/demo -c 2 --led-pwm-bits=11 -D11
|
|
|
+ demo11: examples-api-use/demo -c 4 -L --led-pwm-bits=11 -D11
|
|
|
+ # python sample: rotatatin block
|
|
|
+ pydemo1: bindings/python/samples/rotating-block-generator.py -c 4 -L --led-show-refresh
|
|
|
+ # python sample: like demo01
|
|
|
+ pydemo2: bindings/python/samples/image-scroller.py -c 4 -L --led-show-refresh -i examples-api-use/runtext.ppm
|
|
|
+ # python sample: rotatatin block
|
|
|
+ pydemo3: bindings/python/samples/simple-square.py -c 4 -L --led-show-refresh
|
|
|
|