This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DockerContainersRaspi
67 lines (45 loc) · 1.88 KB
/
DockerContainersRaspi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
docker hub: https://hub.docker.com/u/arm64v8/
nodejs: https://hub.docker.com/r/arm64v8/node/
rabbitmq: https://hub.docker.com/r/arm64v8/rabbitmq/
openjdk: https://hub.docker.com/r/arm64v8/openjdk/
portainer:
Verwaltung von Docker Images
raspi: portainer/portainer:arm
amd64: portainer/portainer
https://portainer.readthedocs.io/en/latest/deployment.html
manage local docker images
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v /opt/dockerData/portainer/portainer -H unix:///var/run/docker.sock
postgres:
raspi: https://hub.docker.com/r/arm64v8/postgres/
amd64: https://hub.docker.com/_/postgres/
start:
$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
connect from an application:
$ docker run --name some-app --link some-postgres:postgres -d application-that-uses-postgres
exposes port 5432
username: postgres
password: a#SS2kgH3rk+G~af
ENV:
POSTGRES_PASSWORD: a#SS2kgH3rk+G~af
Volumes:
pgdata -> /var/lib/postgresql/data
pgadmin:
NUR amd64: https://hub.docker.com/r/dpage/pgadmin4/
docker run -e "[email protected]" -e "PGADMIN_DEFAULT_PASSWORD=a#SS2kgH3rk+G~af" -d dpage/pgadmin4
username: [email protected]
password: a#SS2kgH3rk+G~af
Raspi im Kiosk Mode:
- Raspian installieren
- ssh aktivieren
- cron-apt installieren
- watchdog installieren
- Kiosk einrichten:
* in ~/.config/lxsession/LXDE-pi/autostart
#@xscreensaver -no-splash
# reset chromium to clean shut down if crashed
@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
@xset s off
@xset s noblank
@xset -dpms
@chromium-browser --noerrordialogs --kiosk http://www.xxx.zz
- mosquitto :