Host:Dockerserver: Difference between revisions

From Chaosdorf Wiki
(kein restart=always)
(systemd!)
Line 19: Line 19:


     docker pull chaosdorf/labello
     docker pull chaosdorf/labello
     docker stop labello
     systemctl stop labello.service
     docker rm labello
     docker rm labello
     docker run --name=labello --detach -p 127.0.0.1:8000:8000 --env-file=labello.env chaosdorf/labello
     docker create --name=labello -p 127.0.0.1:8000:8000 --env-file=labello.env chaosdorf/labello
    systemctl start labello.service


== mpd2mqtt aktualisieren ==
== mpd2mqtt aktualisieren ==


     docker pull ytvwld/mpd2mqtt
     docker pull ytvwld/mpd2mqtt
     docker stop mpd2mqtt
     systemctl stop mpd2mqtt.service
     docker rm mpd2mqtt
     docker rm mpd2mqtt
     docker run --name mpd2mqtt --detach --dns=172.22.26.9 --env-file=mpd2mqtt.env ytvwld/mpd2mqtt
     docker create --name mpd2mqtt --dns=172.22.26.9 --env-file=mpd2mqtt.env ytvwld/mpd2mqtt
    systemctl start mpd2mqtt.service


== dashpi aktualisieren ==
== dashpi aktualisieren ==


     docker pull chaosdorf/dashpi:stable
     docker pull chaosdorf/dashpi:stable
     docker stop dashpi
     systemctl stop dashpi.service
     docker rm dashpi
     docker rm dashpi
     docker run --name dashpi --detach -p 3030:3030 --dns=172.22.26.9 --env-file=dashpi.env chaosdorf/dashpi:stable
     docker create --name dashpi -p 3030:3030 --dns=172.22.26.9 --env-file=dashpi.env chaosdorf/dashpi:stable
    systemctl start dashpi.service


== shairplay aktualisieren ==
== shairplay aktualisieren ==


     docker pull chaosdorf/shairplay
     docker pull chaosdorf/shairplay
     docker stop shairplay
     systemctl stop shairplay.service
     docker rm shairplay
     docker rm shairplay
     docker run --name shairplay --detach --dns=172.22.26.9 --network host chaosdorf/shairplay
     docker create --name shairplay --dns=172.22.26.9 --network host chaosdorf/shairplay
    systemctl start shairplay.service


== pulseweb aktualisieren ==
== pulseweb aktualisieren ==


   docker pull chaosdorf/pawebcontrol
   docker pull chaosdorf/pawebcontrol
   docker stop pulseweb
   systemctl stop pulseweb.service
   docker rm pulseweb
   docker rm pulseweb
   docker run --name pulseweb --detach --dns 172.22.26.9 -p 8080:8080 --env-file pulseweb.env chaosdorf/pawebcontrol
   docker create --name pulseweb --dns 172.22.26.9 -p 8080:8080 --env-file pulseweb.env chaosdorf/pawebcontrol
  systemctl start pulseweb.service


== ympd aktualisieren ==
== ympd aktualisieren ==


   docker pull chaosdorf/ympd
   docker pull chaosdorf/ympd
   docker stop ympd
   systemctl stop ympd.service
   docker rm ympd
   docker rm ympd
   docker run --name ympd --dns 172.22.26.9 -p 8082:8080 --detach chaosdorf/ympd
   docker create --name ympd --dns 172.22.26.9 -p 8082:8080 chaosdorf/ympd
  systemctl start ympd.service


== mete ==
== mete ==
Line 69: Line 75:
   fg
   fg
   ^C
   ^C
??? systemd ???

Revision as of 18:49, 2 February 2018

dockerserver
Docker-Instanzen
Ort Host:Helios
Zweck Container hosten
OS Debian 8.10
Disks 8GB8,000 MB <br />8,000,000 kB <br />0.008 TB <br />
RAM 1GB953.674 MiB <br />976,562.5 kiB <br />1,000,000,000 B <br />0.931 GiB <br />9.094947e-4 TiB <br />
Admin-Toolkit No
PAM? Yes
SSH user login? No
Besitzstatus virtuell
Benutzung Nachfragen
Admins nomaster, ytvwld
MAC address 52:54:00:37:04:9d
Static IP 172.22.26.44

Labello aktualisieren

   docker pull chaosdorf/labello
   systemctl stop labello.service
   docker rm labello
   docker create --name=labello -p 127.0.0.1:8000:8000 --env-file=labello.env chaosdorf/labello
   systemctl start labello.service

mpd2mqtt aktualisieren

   docker pull ytvwld/mpd2mqtt
   systemctl stop mpd2mqtt.service
   docker rm mpd2mqtt
   docker create --name mpd2mqtt --dns=172.22.26.9 --env-file=mpd2mqtt.env ytvwld/mpd2mqtt
   systemctl start mpd2mqtt.service

dashpi aktualisieren

   docker pull chaosdorf/dashpi:stable
   systemctl stop dashpi.service
   docker rm dashpi
   docker create --name dashpi -p 3030:3030 --dns=172.22.26.9 --env-file=dashpi.env chaosdorf/dashpi:stable
   systemctl start dashpi.service

shairplay aktualisieren

   docker pull chaosdorf/shairplay
   systemctl stop shairplay.service
   docker rm shairplay
   docker create --name shairplay --dns=172.22.26.9 --network host chaosdorf/shairplay
   systemctl start shairplay.service

pulseweb aktualisieren

  docker pull chaosdorf/pawebcontrol
  systemctl stop pulseweb.service
  docker rm pulseweb
  docker create --name pulseweb --dns 172.22.26.9 -p 8080:8080 --env-file pulseweb.env chaosdorf/pawebcontrol
  systemctl start pulseweb.service

ympd aktualisieren

  docker pull chaosdorf/ympd
  systemctl stop ympd.service
  docker rm ympd
  docker create --name ympd --dns 172.22.26.9 -p 8082:8080 chaosdorf/ympd
  systemctl start ympd.service

mete

Mete läuft über docker-compose, allerdings nicht vom Dockerserver aus. Die folgenden Befehle müssen also lokal ausgeführt werden (und setzen funktionierende Tools voraus):

  cd <pfad-zu-mete>
  git checkout deploy
  git pull --ff
  ssh -L localhost:5732:localhost:2375 root@dockerserver -N &
  env SENTRY_DSN=blargh docker-compose -H tcp://localhost:5732 up -d --build
  fg
  ^C

??? systemd ???