How to install it on OMV 5 with Nginx Proxy Manager?
Beiträge von Tabletche
-
-
What type of service would you like to host?
Webstation is just a webserver with php and optional MySQL. With docker, you find a bunch of services and their basic requirements preconfigured, which I think, is the more comfortable method.
I am trying to host my site with omv, but i can not get it work. How to do it and what i need in OMV to work. my site files are in /var/www/mysite.com i tried with nginx and php,but did something wrong and had to reinstall OMV for 4th time this week, so what i have to do in windows everything works well but here in Linux I am lost So will be grateful if can get some help how to host website with OMV! step by step guide for noob like me
-
Is there any chance to make an alternative to web station in Synology?
-
Hey,
Traefik is a pain if you’re new to it.
I opened my own thread a few months ago and have some useful links if you want to check it out.
I am new to all of this!!!
I found your thread and will see what i can get from there
Thanks!
-
- go to portainer > Stacks > Add Stack
- Name: traefik, this codeCode
Alles anzeigenversion: '3' services: traefik: image: traefik:latest container_name: traefik restart: unless-stopped networks: - proxy ports: - 80:80 - 443:443 volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock:ro - /home/<your_user>/traefik/data/traefik.yml:/traefik.yml:ro - /home/<your_user>/traefik/data/acme.json:/acme.json - /home/<your_user>/traefik/data/config.yml:/config.yml:ro labels: - "traefik.enable=true" - "traefik.http.routers.traefik.entrypoints=http" - "traefik.http.routers.traefik.rule=Host(`traefik.domain.tld`)" - "traefik.http.middlewares.traefik-auth.basicauth.users=USER:PASSWORD" - "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.traefik.middlewares=traefik-https-redirect" - "traefik.http.routers.traefik-secure.entrypoints=https" - "traefik.http.routers.traefik-secure.rule=Host(`traefik.domain.tld`)" - "traefik.http.routers.traefik-secure.middlewares=traefik-auth" - "traefik.http.routers.traefik-secure.tls=true" - "traefik.http.routers.traefik-secure.tls.certresolver=http" - "traefik.http.routers.traefik-secure.service=api@internal" networks: proxy: external: true
- change the domain on line 22 and 27. Change line 23, copy the credentials from console on USER:PASSWORD. Those credentials must be in htpasswd format.
- "Deploy the stack"
- visit traefik.domain.tld, you see the traefik dashboardi manage to do the first one, now can someone tell me what i have to change at line 22 and 27 do i have to fill all domain name and which one have to be,
and what to change in 23. Sorry for those questions, but i just starting with this. Thanks in advance!
-
any chance to use it without stacks?
-
ok, I give up
Thanks, I will try to use portainer without templates, it`s not big deal I think in this way i will learn fast
Is there any way to clean all installed apps like mysql php and other things in OVM whiout reinstalling OMV?
Something like factory reset!
-
ok, seems no docker is running
docker rm portainer to remove the portainer container; maybe you need to press TAB after you entered "portainer" to get the complete name
then try again to remove the portainer_data volume
root@media:~# docker volume ls
DRIVER VOLUME NAME
root@media:~#
then i installed again portainer and still no templates
-
Too much work for this mate,
I don`t have any importand files on OVM, I just want to use it as a host so i can manage my sites with linux, don`t want to use windows PC!
For the OVM server i use old pc and i hope can find a way to install all needed tools for managing website.
I really don`t want to waste your time, I will reinstall it and then will ask again for help with web tools, because as i said before i got 2 domains and i want to use my old PC as a host, but linux is too complicate for me
-
docker ps to see which container are running
docker stop <container_name> to stop a container
docker volume rm <something> to remove a volume
root@media:~# docker volume ls
DRIVER VOLUME NAME
local 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2
local 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044
local ncdata
local portainer_data
root@media:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@media:~# docker volume rm 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044 ncdata portainer_data
Error response from daemon: remove 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2: volume is in use - [ca85855c1ec5eb9425cf2155125853d498fddccc58b0232fafbf5c9f2f7aa0f1]
Error response from daemon: remove 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044: volume is in use - [ca85855c1ec5eb9425cf2155125853d498fddccc58b0232fafbf5c9f2f7aa0f1]
Error response from daemon: remove ncdata: volume is in use - [66c2564a20a47650ec231c1fa00171799d75b66514f84f3e820c4c6120e51d16]
Error response from daemon: remove portainer_data: volume is in use - [42776135cbd8ba951d0dc5cba921a7abe9f4287c166667a54c8759f04d633c42]
-
You need to stop the container that are using them. Stop one by one so that you can check which on is used by portainer.
how to do that ?
-
Did you delete the volume?
docker volume ls to see if there are some volumes related to portainer
root@media:~# docker volume ls
DRIVER VOLUME NAME
local 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2
local 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044
local ncdata
there was more, but i use docker volume prune
left only those 3 they can not be removed
-
Portainer should be enough. Just make sure to remove volume with persistant data.
same sh*t . . . .
I will reinstall
-
After you disbled external templates.
Maybe also logout/login and force reload.
no difference, I thing i have to reisntall OMV!
-
Did you refresh (circle at the top of the portainer page)
when refresh giving same error
-
The "use external templates" might be the issue. It says that internal templates are disabled, when external templates are enabled.
I disabled external template save and still no other templates?
I added again external template json and got this error
Failure
json: cannot unmarshal string into Go struct field Template.interactive of type bool
but before that they worked!
-
-
I did something and now i lost all templates on Portainer
Application templates list is empty. I uninstalled and installed portainer again, but still no templates there.
What could be the problem and is there any chance to get templates back without reinstaling OVM?
-
Setting up a full web server under Docker to run, for example a Wordpress site, is a pretty advanced task. My suggestion is to get a second device such as a cheap OrangePi or similar and use that instead with Ubuntu server as the OS and then follow a web tutorial on setting up a site. Once this has been mastered then think about trying the same under Docker.
An alternative is to use free web hosting site such as x10 hosting to learn the ropes at no cost.
well, i had running site on windows, but i want to learn how to do it in Linux, especially in openmediavault! So if some one have free time, feel free to make me a guide how to do it!
-
Don’t know what kind of websites you want to run. Mostly a web server consist of an Apache or Nginx, MySQL, and the service.
Docker images config are vary.
just normal sites, i have domain just need to use my server to host the site not to pay for hosting!
Which of this Apache, Nginx, MySQL, CPanel and/or what else have to install 1st and how to configure it?
Can some one make a guide how to do this from zero?
Do i have to install all from portainer or from terminal with apt commands?
As i said before I am a real noob in linux ! Thanks in advance !