Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
content:docker_nextcloud_phpfpm [2023/05/02 20:18] – angelegt Danielcontent:docker_nextcloud_phpfpm [2023/12/21 07:35] (aktuell) Daniel
Zeile 1: Zeile 1:
 ====== Nextcloud installieren mit Docker ohne Services ====== ====== Nextcloud installieren mit Docker ohne Services ======
  
-Dies ist ein einfaches Setup:+**DEPRECATED** - Only Tec-Knowledge - better don't user portainer ymls, don't use docker in root, don't create volumes like this, read [[.:serverbasics:docker|https://obel1x.de/dokuwiki/doku.php?id=content:serverbasics:docker|]] before!
  
-1. Docker+Portaier zum Laufen bekommen:+Note for english speakersthis is german as by time of writing i decided to do so. It's a working draft with hints but don't expect a full howto guide. Maybe i will write a new one including full flagged Server- Setup. Util then, this is all you will find here.
  
-[[https://www.howtogeek.com/devops/how-to-get-started-with-portainer-a-web-ui-for-docker/|https://www.howtogeek.com/devops/how-to-get-started-with-portainer-a-web-ui-for-docker/]]\\ +BTWTwo things to consider before reading this:
-docker volume create portainer_data\\ +
-docker run -d -p 81:9000 --name=portainer --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce+
  
-[[https://hub.docker.com/_/nextcloud|https://hub.docker.com/_/nextcloud]]\\+  - Portainer does have an own yaml- editor integrated in Stack -Management, which is quite nice to use and makes it easier to start and stop services in larger setups. So don't creat yaml- files on your own, but put the contents in a new stack in the editor there (and make a backup of you portainer- volume!) 
 +  - Nextcloud itself is very powerfull, but gets even really explosive using all of its features! The NC- Devs make it easy to install all of them in one step using [[https://github.com/nextcloud/all-in-one|https://github.com/nextcloud/all-in-one]] - check out this mind- blowing experience if your server is fast enough! 
 + 
 +===== Docker and Root ===== 
 + 
 +There is a big Problem with docker: The Daemon is running as root and also the Container- Services are. I am not a fried of this - so maybe you want to install Docker as non-root- user as wriztten here [[https://obel1x.de/dokuwiki/doku.php?id=content:serverbasics:docker|https://obel1x.de/dokuwiki/doku.php?id=content:serverbasics:docker]] and come back later. 
 + 
 +===== Vorwort ===== 
 + 
 +Dies ist ein einfaches Setup. Nach der Installation von docker, kann folgendes gemacht werden. 
 + 
 +Achtung: Docker.service und Containerd.service zusammen funktionieren NICHT ! Sollte Docker einfach nicht starten: 
 + 
 +"Yes, that was the problem. Ran ''systemctl disable containerd''  then rebooted and docker started as it should." [[https://forums.opensuse.org/t/docker-not-running-on-startup-can-run-manually/166056/7|Link]] 
 + 
 +===== Docker+Portainer zum Laufen bekommen ===== 
 + 
 +[[https://www.howtogeek.com/devops/how-to-get-started-with-portainer-a-web-ui-for-docker/|https://www.howtogeek.com/devops/how-to-get-started-with-portainer-a-web-ui-for-docker/]] \\ 
 +docker volume create portainer_data \\ 
 +docker run -d -p 81:9000 –name=portainer –restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce 
 + 
 +===== Nextcloud installieren ===== 
 + 
 +[[https://hub.docker.com/_/nextcloud|https://hub.docker.com/_/nextcloud]] \\
 Ordner anlegen /opt/docker/nextcloud Ordner anlegen /opt/docker/nextcloud
  
-https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf\\+[[https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf|https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf]] \\
 herunterladen, abspeichern herunterladen, abspeichern
  
-docker-compose-yaml:+docker-compose-yaml anlegen:
 <file> <file>
  
Zeile 70: Zeile 91:
  
 </code> </code>
 +
  
  • content/docker_nextcloud_phpfpm.1683058711.txt.gz
  • Zuletzt geändert: 2023/05/02 20:18
  • von Daniel