Docker Upgrade Custom Port Settings

I’ve entered in the following for the port in my cms_custom-ports.yml file but when I go to localhost:81 the page cannot be displayed:

services:
    cms-db:
        image: mysql:5.6
        volumes:
            - "./shared/db:/var/lib/mysql"
        restart: always
        environment:
            - MYSQL_DATABASE=cms
            - MYSQL_USER=cms
            - MYSQL_ROOT_PASSWORD=Maoinc321
        mem_limit: 1g
        env_file: config.env
    cms-xmr:
        image: xibosignage/xibo-xmr:release_1.8.2
        ports:
            - "65500:9505"
        restart: always
        mem_limit: 256m
        env_file: config.env
    cms-web:
        image: xibosignage/xibo-cms:release_1.8.2
        volumes:
            - "./shared/cms/custom:/var/www/cms/custom"
            - "./shared/backup:/var/www/backup"
            - "./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom"
            - "./shared/cms/library:/var/www/cms/library"
            - "./shared/cms/web/userscripts:/var/www/cms/web/userscripts"
        restart: always
        links:
            - cms-db:mysql
            - cms-xmr:50001
        environment:
            - XMR_HOST=cms-xmr
        env_file: config.env
        ports:
            - "81:81"
        mem_limit: 1g

You should only change the outside port to 81. The inside port must remain as 80 as that’s where the container is listening.

        ports:
        - "81:80"

Should I be changing:
cms-xmr:
image: xibosignage/xibo-xmr:release_1.8.2
ports:
- “65500:9505”

to this:

cms-xmr:
image: xibosignage/xibo-xmr:release_1.8.2
ports:
- “9505:50001”

I was able to get the site up and complete the upgrade… However my data is not showing up. During the Docker set up I did the following:

Took my data from location:
/xibo-library

and copied it to:
/opt/xibo/xibo-docker/shared/cms/library

I ran the following commands from the instructions:
UPDATE setting SET value="/var/www/cms/library/", userSee=0, userChange=0 WHERE
setting="LIBRARY_LOCATION"; UPDATEsettingSETvalue="tcp://cms-xmr:50001", userSee=0, userChange=0 WHEREsetting="XMR_ADDRESS"; UPDATEsettingSETvalue="Apache" WHEREsetting`=“SENDFILE_MODE”;
exit

Was I supposed to enter the LIBRARY_LOCATION of: /opt/xibo/xibo-docker/shared/cms/library ?

No. You only change the part before the colon.

If you want it on the standard port, then use 9505:9505

If you say want it on 5642, then you’d use 5642:9505

No, the library location you’ve entered is correct. The CMS running inside the container sees your files as /var/www/cms/library/