Piwigo on OMV5 via Portainer - Quick Install

  • i am trying also this for learing how the work with Docker/Portainer. i have a issue about the string, but i cannot find the issue,


    where do i have to look?





    version: 2.1

    services:

    piwigo:

    image: linuxserver/piwigo

    container_name: piwigo

    environment:

    - PUID=1000

    - PGID=100

    - TZ=Europe/Amsterdam

    volumes:

    - /srv/dev-disk-by-label-Nas/Ron/appdata/piwigo:/config

    ports:

    - 8125:80

    restart: unless-stopped


    mariadb:

    image: linuxserver/mariadb

    container_name: piwidb

    environment:

    - PUID=1000

    - PGID=100

    - MYSQL_ROOT_PASSWORD=my password

    - TZ=Europe/Amsterdam

    - MYSQL_DATABASE=piwigo

    - MYSQL_USER=piwigo

    - MYSQL_PASSWORD=piwigo

    volumes:

    - /srv/dev-disk-by-label-Nas/Ron/appdata/piwidb:/config

    ports:

    - 3306:3306

    restart: unless-stopped

  • OK, so just to follow up on the IP issue. To stop the IP change losing your connection, you can use the docker container name in the database.inc file, instead of the IP address.


    The guys over at the Piwigo forum helped me with this, here.


    So, you do this:


    For anybody else that would find this useful, navigate to:

    /config/www/gallery/local/config

    then

    nano database.inc.php

  • what i am trying can not make asses to the server.

    I find that the ip was 172.19.0.3 and i tried als local ip :3306.

    reinstall also not working ;-(

    portail says the container is running and also the network?

  • what i am trying can not make asses to the server.

    I find that the ip was 172.19.0.3 and i tried als local ip :3306.

    reinstall also not working ;-(

    portail says the container is running and also the network?

    AFAIK, since you created the stack with both containers, Docker will recognize the "MySQL Host" by container name:

    In your case "piwidb".


    Try it or also "localhost"

    Maybe someone can give some input but, at least, on stacks that use MariaDB, that's how the host is set.

  • at last i have Piwigo working, i have access at the PC and mobile.

    I do not know if this is also possible but at the NAS i have a folder with my old photo , /Ron/Photos.

    Can i place this somewhere so that i have access to that folder on piwigo.

    I am looking at the manual but i cannot find it yet


    Ron

  • Hi, this proccess works in Raspberry pi 3 Model B?


    When I go to step 2, https: // omv5-ip: 8125

    the browser rejects the connection, I can't see the Piwigo installation page

  • Hi, this proccess works in Raspberry pi 3 Model B?


    When I go to step 2, https: // omv5-ip: 8125

    the browser rejects the connection, I can't see the Piwigo installation page

    I believe it will run normally on RPi3


    If you used the "docker-compose.yml" of the OP, you should use "http://omv5-ip:8125" on the same LAN, NOT "https://...." <---See the extra "S"

    Clear your browser cache, or open an anonymous tab and try it.



    If you want, post your docker-compose.yml and we can move from there.

    Don't forget to delete/hide sensible info (your root password, eg.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!