molmagman Beginner

  • Member since Oct 18th 2020
  • Last Activity:
Posts
8
Reactions Received
1
Points
36
Profile Hits
2
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    Yay!
    It works!

    I manually, recursively changed the owner of all the website files back to nobody:users through ssh
    Span up a linuxserver/nginx docker and mapped Volumes : /srv/dev-disk-by-label-storage/Websites:/config/www
    Set two environment variables (you…
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    Ah - OK.
    Pulled the linuxserver nginx image with docker pull linuxserver/nginx
    Fired up a docker with option Volumes: /srv/dev-disk-by-label-storage/Websites:/config/www
    Now I can browse to my website and it works very well (couple of odd PHP issues but…
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    For nginx - https://hub.docker.com/_/nginx - docker.io/library/nginx:latest

    I installed at the cli with docker pull nginx

    I'm running on Raspberry Pi 3B, OMV version 5.5.12-1
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    output of id www-data is uid=33(www-data) gid=33(www-data) groups=33(www-data)
    output of docker exec -it nginxcontainer id www-data is uid=33(www-data) gid=33(www-data) groups=33(www-data)

    So, the same :(

    Is there anything I should be doing with the container…
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    Thanks for your help so far!
    So I can spin up an nginx and a php docker :)
    It serves files from /usr/share/nginx/html :)

    I have websites stored in folders within:
    /srv/dev-disk-by-label-storage/Websites

    So, I spin up a docker with the volumes mapped:
  • molmagman

    Reacted with Like to Morlan’s post in the thread Install Nginx and MySQL on OMV 5.
    Reaction (Post)
    I have no experience with cockpit. I manage my docker solely with cli
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    Thank you for your answers - really appreciate them. I'm getting to grips with it.
    We use docker for our website at work so this is really useful experience.
    I was experimenting with Cockpit - at first glance, this seems much clearer than Portainer.
    Views?
  • molmagman

    Replied to the thread Install Nginx and MySQL on OMV 5.
    Post
    So this is what I've done.
    • Changed OMV Web-admin port to 81
    • Installed Docker from OMV-Extras Panel
    • Enabled SSH
    • Logged into server using Putty
    • Run 'docker ps'
    • This tells me there are no docker containers
    • Run 'docker run --name mynginx1 -p 80:80 -d nginx'
    • Image