|
@@ -9,7 +9,7 @@ domoticz:
|
|
|
volumes:
|
|
volumes:
|
|
|
- /etc/localtime:/etc/localtime
|
|
- /etc/localtime:/etc/localtime
|
|
|
- /opt/fast/domoticz/domoticz.db:/root/domoticz/domoticz.db
|
|
- /opt/fast/domoticz/domoticz.db:/root/domoticz/domoticz.db
|
|
|
- ports: 8080:8080
|
|
|
|
|
|
|
+ #ports: 8080:8080
|
|
|
devices: /dev/ttyUSB0
|
|
devices: /dev/ttyUSB0
|
|
|
|
|
|
|
|
# https://github.com/mkueper/rpi-svn/blob/master/Dockerfile
|
|
# https://github.com/mkueper/rpi-svn/blob/master/Dockerfile
|
|
@@ -25,9 +25,9 @@ svn:
|
|
|
ngp:
|
|
ngp:
|
|
|
host: himbeere
|
|
host: himbeere
|
|
|
docker:
|
|
docker:
|
|
|
- - name: ngp
|
|
|
|
|
|
|
+ - name: nginx-proxy
|
|
|
build: ngp
|
|
build: ngp
|
|
|
- ports: 0.0.0.0:1080:80, 0.0.0.0:1443:443
|
|
|
|
|
|
|
+ ports: 192.168.178.43:1080:80, 192.168.178.43:1443:443
|
|
|
volumes:
|
|
volumes:
|
|
|
- /usr/share/nginx/html
|
|
- /usr/share/nginx/html
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
@@ -40,9 +40,10 @@ ngp:
|
|
|
method: exec
|
|
method: exec
|
|
|
cmd: cat /etc/nginx/conf.d/default.conf
|
|
cmd: cat /etc/nginx/conf.d/default.conf
|
|
|
docs: show dockergen-generated config
|
|
docs: show dockergen-generated config
|
|
|
|
|
+
|
|
|
- name: ngp_le
|
|
- name: ngp_le
|
|
|
build: ngp_le
|
|
build: ngp_le
|
|
|
- volumes_from: ngp
|
|
|
|
|
|
|
+ volumes_from: nginx-proxy
|
|
|
volumes:
|
|
volumes:
|
|
|
- /opt/fast/nginx/certs:/etc/nginx/certs:rw
|
|
- /opt/fast/nginx/certs:/etc/nginx/certs:rw
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
@@ -78,6 +79,6 @@ gogs:
|
|
|
docker:
|
|
docker:
|
|
|
image: gogs/gogs-rpi
|
|
image: gogs/gogs-rpi
|
|
|
volumes: /opt/fast/gogs:/data
|
|
volumes: /opt/fast/gogs:/data
|
|
|
- ports: 3000:3000, 3022:22
|
|
|
|
|
|
|
+ ports: 3022:22
|
|
|
env:
|
|
env:
|
|
|
VIRTUAL_PORT: 3000
|
|
VIRTUAL_PORT: 3000
|