reassigning only the ports should be easy as you are running OTOBO in Docker containers. The ports within the containers can stay as they are. Only the mappings to the ports that are visible on the Docker host must be adapted. The can be done with the variables OTOBO_WEB_HTTP_PORT and OTOBO_WEB_HTTPS_PORT in your .env file.
When trying this in my local installation I noticed that the redirect to HTTPS still uses the default port 443. This will be fixed in one of the next releases, see https://github.com/RotherOSS/otobo/issues/1892.
your changed .env file looks fine. But I see that the old ports 80 and 443 are still exposed on the Docker host. Did you restart the containers after the config change?
the ports 8443 for NginX and 3306 for MaraDB are per default only used internally in the OTOBO container network. They should not conflict with ports on the Docker hosts or with ports in other container networks. A conflict can only occur with the exposed ports that are reported by docker-compose ps.
However, during development, I often expose the MariaDB port so that I can use a GUI for inspecting the database. There I map port 3306 to 3307 so that it doesn’t conflict with a locally running database.
$git diff diff --git a/docker-compose/otobo-base.yml b/docker-compose/otobo-base.yml index 875df06..d634d99 100644 --- a/docker-compose/otobo-base.yml +++ b/docker-compose/otobo-base.yml @@ -29,8 +29,8 @@ services: # like MySQL Workbench is used. Uncomment the following lines for making MariaDB available # on port 3307 on the Docker host. A non-standard port is chosen here, because 3306 is # often already used on the Docker host. - # ports: - # - "3307:3306" + ports: + - "3307:3306"
# Set the db root password which has to be entered when running otobo/installer.pl. # The passwort is secret and can be stored in the file .env.
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: