Shujat Husain
1 min readJun 7, 2021

--

Hi Armindo,

When I run the command "docker-compose up -d", I get the following messages,

WARNING: The HOST_SSL_PORT variable is not set. Defaulting to a blank string.

WARNING: The MYSQL_ROOT_PASSWORD variable is not set. Defaulting to a blank string.

WARNING: The OPENVPN_ADMIN_DATABASE variable is not set. Defaulting to a blank string.

WARNING: The OPENVPN_ADMIN_USER variable is not set. Defaulting to a blank string.

WARNING: The OPENVPN_ADMIN_PASSWORD variable is not set. Defaulting to a blank string.

ERROR: The Compose file './docker-compose.yml' is invalid because:

services.openvpn.ports contains an invalid type, it should be a number, or an object

Also when I manually mentions the values the of the "HOST_SSL_PORT", "MYSQL_ROOT_PASSWORD", "OPENVPN_ADMIN_DATABASE", "OPENVPN_ADMIN_USER" , "OPENVPN_ADMIN_PASSWORD", the error goes away and containers start but the webadmin page does not open.

also when I log inside webadmin container with sh, I don't see any service running on port 80.

please help, need your attention.

--

--

Shujat Husain
Shujat Husain

Written by Shujat Husain

A TechEenthusiat who likes all new technologies & Gaming. Most of all love to write about Cloud & DevOPs & have my own blog as well (https://linuxtechlab.com).

No responses yet