Page 1 of 18

Supla ❤ Docker

Posted: Mon Dec 11, 2017 11:21 am
by fracz
Przypływa :)
supla-docker.png
supla-docker.png (20.15 KiB) Viewed 14309 times
Potrzebujemy 2-3 zainteresowane osoby, które są posiadaczami malin, VPSów, NASów itp. do przetestowania wstępnej konfiguracji.

Re: Supla ❤ Docker

Posted: Mon Dec 11, 2017 11:22 am
by fracz
Instrukcja instalacji: https://github.com/SUPLA/supla-docker#installation
Filmik z instalacją: https://www.youtube.com/watch?v=MBgRUE_5dFU
Instalacja na RaspberryPI: viewtopic.php?f=40&t=2748
Popularne problemy: https://github.com/SUPLA/supla-docker#troubleshooting
Tryb proxy: viewtopic.php?f=40&t=2955
Uruchomienie razem z SUPLA Scripts na jednej maszynie: viewtopic.php?f=40&t=2695

Re: Supla ❤ Docker

Posted: Mon Dec 11, 2017 11:56 am
by michael
fracz wrote:
Mon Dec 11, 2017 11:21 am
Przypływa :)

supla-docker.png

Potrzebujemy 2-3 zainteresowane osoby, które są posiadaczami malin, VPSów, NASów itp. do przetestowania wstępnej konfiguracji.
wchodzę w to :)
Ostatnio nie mam za wiele czasu na Suplę :) ale jakoś damy radę :D
Zgłaszam się z malinką i VPS'em

Re: Supla ❤ Docker

Posted: Mon Dec 11, 2017 12:52 pm
by nowy1
Jestem :) mam synology I MALINĘ

Re: Supla ❤ Docker

Posted: Mon Dec 11, 2017 5:29 pm
by iborkim
Chętnie przetestuję na openmediavault.

Re: Supla ❤ Docker

Posted: Mon Dec 11, 2017 6:23 pm
by fracz
Ok - dzięki - odezwę się na priv.

Re: Supla ❤ Docker

Posted: Tue Dec 12, 2017 2:13 pm
by djack2017
Zgodnie z sugestią Przemysława zgłaszam się - aktualnie stawiam suplę na VPS Debian8
Jacek

Re: Supla ❤ Docker

Posted: Tue Dec 12, 2017 6:33 pm
by slawek
Zaglądnąłem na githuba - chyba wielu na to czekało... ;)
https://github.com/SUPLA/supla-docker/b ... /README.md

Re: Supla ❤ Docker

Posted: Tue Dec 12, 2017 7:17 pm
by maghost
Sypie errorami przy starcie

Code: Select all

root@server2:/# git clone https://github.com/SUPLA/supla-docker.git
Cloning into 'supla-docker'...
remote: Counting objects: 179, done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 179 (delta 86), reused 134 (delta 47), pack-reused 0
Receiving objects: 100% (179/179), 44.72 KiB | 0 bytes/s, done.
Resolving deltas: 100% (86/86), done.
Checking connectivity... done.
root@server2:/# ./supla-docker/supla.sh start
Configuration files has been generated based on samples.
Generating self-signed certificates for supla-cloud and supla-server.
Generating a 2048 bit RSA private key
.+++
.........................+++
writing new private key to 'cloud/server.key'
-----
Generating a 2048 bit RSA private key
...............................................+++
.....................................+++
writing new private key to 'server/private.key'
-----
Starting SUPLA containers
Building supla-mysql
Step 1/2 : FROM mysql:5.7.20
 ---> 7d83a47ab2d2
Step 2/2 : COPY mysql.cnf /etc/mysql/conf.d/mysql.cnf
 ---> Using cache
 ---> 7b250e73c9c8
Successfully built 7b250e73c9c8
Successfully tagged supla_supla-mysql:latest
Building supla-server
Step 1/7 : FROM debian:jessie
 ---> 2fe79f06fa6d
Step 2/7 : RUN apt-get update     && apt-get install -y --no-install-recommends         git         make         gcc         g++         libmysqlclient-dev         libssl-dev         wget         supervisor         ca-certificates         ssl-cert     && wget https://www.openssl.org/source/openssl-1.0.1t.tar.gz     && tar -zxf openssl-1.0.1t.tar.gz     && cd openssl-1.0.1t && ./config enable-ssl2 --prefix=/usr/local shared && make depend && make install     && rm -fr /openssl-1.0.1t*     && cp /usr/local/lib/libcrypto.so.1.0.0 "$(ldconfig -p | grep libcrypto.so.1.0.0$ | awk '{ print $4 }')"     && cp /usr/local/lib/libssl.so.1.0.0 "$(ldconfig -p | grep libssl.so.1.0.0$ | awk '{ print $4 }')"     && apt-get autoremove     && rm -r /var/lib/apt/lists/*     && mkdir -p /var/log/supervisor
 ---> Using cache
 ---> 0f2d42aa305a
Step 3/7 : ARG SERVER_VERSION=1.8.5
 ---> Using cache
 ---> fdeed2cf3789
Step 4/7 : RUN git clone https://github.com/SUPLA/supla-core.git --branch v$SERVER_VERSION /src     && cd /src/supla-scheduler/Release && make all     && cd /src/supla-server/Release && make all     && cp /src/supla-scheduler/Release/supla-scheduler /src/supla-server/Release/supla-server /usr/local/bin     && rm -fr /src     && mkdir -p /etc/supla-server
 ---> Using cache
 ---> 2af7f0cf1a32
Step 5/7 : COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
 ---> Using cache
 ---> bb7f0c0f0174
Step 6/7 : COPY supla.cfg /etc/supla-server/supla.cfg
 ---> feb6534a771f
Step 7/7 : CMD ["/usr/bin/supervisord", "--nodaemon", "--configuration", "/etc/supervisor/conf.d/supervisord.conf"]
 ---> Running in 52974bd7221e
Removing intermediate container 52974bd7221e
 ---> 1ff499acb647
Successfully built 1ff499acb647
Successfully tagged supla_supla-server:latest
Building supla-cloud
Step 1/10 : FROM php:7.0.26-apache
 ---> 61ddb911b08c
Step 2/10 : WORKDIR /var/www
 ---> Using cache
 ---> 68fd7c3f35e3
Step 3/10 : RUN apt-get update     && apt-get install -y --no-install-recommends       libicu-dev       libpq-dev       ca-certificates       ssl-cert       libcurl4-gnutls-dev       git       unzip       mysql-client       wget     && update-ca-certificates     && docker-php-ext-install       pdo_mysql       mbstring       opcache       intl       curl       zip     && apt-get autoremove     && rm -r /var/lib/apt/lists/*
 ---> Using cache
 ---> f4a5fe770ac0
Step 4/10 : COPY apache-conf /etc/apache2/sites-available
 ---> Using cache
 ---> 090b88b5a4b4
Step 5/10 : RUN a2enmod rewrite expires deflate ssl cgi alias env proxy_http && a2ensite default-ssl
 ---> Using cache
 ---> f7bdda9619ad
Step 6/10 : ARG CLOUD_VERSION=2.1.5
 ---> Using cache
 ---> 2c8f8a6d4884
Step 7/10 : COPY supla-cloud-v$CLOUD_VERSION.tar.gz ./
ERROR: Service 'supla-cloud' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder434350849/supla-cloud-v2.1.5.tar.gz: no such file or directory
Error: No such container: supla-cloud
Error: No such container: supla-cloud
Error: No such container: supla-cloud
SUPLA crontab already installed
SUPLA containers has been started.

Re: Supla ❤ Docker

Posted: Tue Dec 12, 2017 7:51 pm
by fracz
maghost wrote:
Tue Dec 12, 2017 7:17 pm
Sypie errorami przy starcie
Bo nie dostałeś kodów na priv :lol: