Raspberry PI - Instalacja dockerowa

Moderator: fracz

Awatar użytkownika
fracz
Posty: 2256
Rejestracja: pt paź 28, 2016 10:56 pm
Lokalizacja: Kraków

Jeśli chcesz mieć zielony certyfikat, musisz mieć domenę i uruchomić po proxy albo sobie certyfikat kupić.

Jeśli to ma być 100% lokalnie na adresie IP jakimś lokalnym - możesz wyłączyć SSL. Dopisz w swoim pliku .env

Kod: Zaznacz cały

SUPLA_PROTOCOL=http
I idź wtedy do adresu przez http://
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

No niestety po wyłączeniu SSL, aplikacja na telefonie dalej się nie loguje na serwer. Na serwerze uaktywnione dodawanie.
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
Awatar użytkownika
fracz
Posty: 2256
Rejestracja: pt paź 28, 2016 10:56 pm
Lokalizacja: Kraków

To co napisałem wyłącza ssl w cloudzie - przegladarka nie powinna miec problemow ze certyfikat jest źle podpisany. Nie ma to wpływu na supla-server do którego logują się smartfony.

Zobacz logi: docker logs supla-server
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

Jak daję to w putty to otrzymuje:

Kod: Zaznacz cały

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/containers/supla-server/logs?stderr=1&stdout=1&tail=all: dial unix /var/run/docker.sock: connect: permission denied
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
Awatar użytkownika
fracz
Posty: 2256
Rejestracja: pt paź 28, 2016 10:56 pm
Lokalizacja: Kraków

sudo
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

Kod: Zaznacz cały

Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
Awatar użytkownika
fracz
Posty: 2256
Rejestracja: pt paź 28, 2016 10:56 pm
Lokalizacja: Kraków

Czy na pewno masz odpowiedni config dla maliny? W pliku .env powinieneś mieć na końcu:

Kod: Zaznacz cały

COMPOSE_FILE=docker-compose.yml:docker-compose.standalone.yml:docker-compose.arm32v7.yml
Ale czekaj, to jest PI Zero? Co mówi komenda

Kod: Zaznacz cały

uname -m
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

armv6l

Kod: Zaznacz cały

COMPOSE_FILE=docker-compose.yml:docker-compose.standalone.yml:docker-compose.arm32v7.yml
Pi Zero W
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

teraz przy starcie wywala

Kod: Zaznacz cały

ERROR: .IOError: [Errno 2] No such file or directory: u'./docker-compose.standalone.yml'
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
Awatar użytkownika
Lector
Posty: 1400
Rejestracja: pt lis 17, 2017 2:26 pm
Lokalizacja: Poznań
Kontakt:

Stawiam na nowo system, jakby ktoś pomógł byłoby super ;)
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
ODPOWIEDZ

Wróć do „supla-docker”