Supla ❤ Docker

Moderator: fracz

User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Myślę że tak. Jaka to architektura? uname -m
0xFF
Posts: 308
Joined: Sat Feb 20, 2016 8:54 pm

Post

ARM, taki jak w RPi1, starszy niż ten w RPi3.

Code: Select all

armv6l
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Powinien działać. Spróbuj z brancha arm32v7 ale najprawdopodobniej zbuduje się tylko z brancha src (może to potrwać dłuższą chwilę). Próbuj, daj znać jak poszło
0xFF
Posts: 308
Joined: Sat Feb 20, 2016 8:54 pm

Post

Code: Select all

./supla.sh start
ARM architecture detected. Adjusting configuration.
Starting SUPLA containers
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
SUPLA containers has been started.
docker-compose instalowałem przez

Code: Select all

apt-get install docker-compose
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Jakie to wersje?

docker --version
docker-compose --version

Niestety ze względu na jeden z ficzurów musiałem użyć "nowszej" wersji konfiguracji.
0xFF
Posts: 308
Joined: Sat Feb 20, 2016 8:54 pm

Post

Code: Select all

docker-compose version 1.8.0, build unknown
Docker version 17.11.0-ce, build 1caf76c
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Docker super.

Docker copmose dość stary, postaraj się zaktualizować do co najmniej 1.15
Ryo
Posts: 29
Joined: Fri Jan 27, 2017 7:00 am

Post

Walczę z dockerem już drugi dzień i noc ;)
Platforma: RPI2
Wszystko zainstalowane i startuje bez błędów

Code: Select all

CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                      NAMES
05b2fba00e01        supla/supla-server:arm32v7   "/usr/bin/server-e..."   11 hours ago        Up 11 hours         0.0.0.0:2015-2016->2015-2016/tcp           supla-server
fc9e80104796        supla/supla-cloud:arm32v7    "docker-php-entryp..."   11 hours ago        Up 16 seconds       0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   supla-cloud
cc0a6929c9d2        hypriot/rpi-mysql:5.5        "/entrypoint.sh my..."   11 hours ago        Up 11 hours         3306/tcp                                   supla-db
pi@raspberrypi:~ $ 

Połączyć się nie idzie odnoszę wrażenie, iż supla-cloud przy próbie połączenia czy to na porcie 80 czy 443 restartuje się.

Co czynić? Jak żyć? ;)
Ryo
Posts: 29
Joined: Fri Jan 27, 2017 7:00 am

Post

Rozwiązane.

Tak się dzieje gdy plik .env jest błędnie edytowany. Ja wpisałem błędny email... Wesołych świąt. :)
arturkmat
Posts: 40
Joined: Wed Jul 05, 2017 9:45 pm
Location: Ostrzeszów

Post

Zainstalowałem dockera wszystko poszło gładko. Tak samo z serwerem. Ale man pytanie jak dodać do dockera supla dev ?

Return to “supla-docker”