octavius64 / Gazelle

Other
0 stars 0 forks source link

Ports Already in Use #3

Open dannymichel opened 1 year ago

dannymichel commented 1 year ago

Can we have a port 8083:80 kind of forwarding?

gazelle-ocelot-1                 |     Change Dir: /ocelot_build/CMakeFiles/CMakeTmp
gazelle-ocelot-1                 |     
gazelle-ocelot-1                 |     Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5ac27/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_5ac27.dir/build.make CMakeFiles/cmTC_5ac27.dir/build
gazelle-ocelot-1                 |     gmake: /usr/bin/gmake: Operation not permitted
gazelle-ocelot-1                 |     gmake: *** [Makefile:127: cmTC_5ac27/fast] Error 127
gazelle-ocelot-1                 |     
gazelle-ocelot-1                 |     
gazelle-ocelot-1                 | 
gazelle-ocelot-1                 |   
gazelle-ocelot-1                 | 
gazelle-ocelot-1                 |   CMake will not be able to correctly generate this project.
gazelle-ocelot-1                 | Call Stack (most recent call first):
gazelle-ocelot-1                 |   CMakeLists.txt:2 (project)
gazelle-ocelot-1                 | 
gazelle-ocelot-1                 | 
gazelle-ocelot-1                 | -- Configuring incomplete, errors occurred!
gazelle-ocelot-1                 | See also "/ocelot_build/CMakeFiles/CMakeOutput.log".
gazelle-ocelot-1                 | See also "/ocelot_build/CMakeFiles/CMakeError.log".
gazelle-sphinxsearch-1           | Generating sphinx.conf from config...
gazelle-sphinxsearch-1           | Waiting for the DB to come online...
gazelle-db_initializer-1         | mysql: [Warning] Using a password on the command line interface can be insecure.
gazelle-db_initializer-1         | ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql:3306' (111)
gazelle-db_initializer-1         | MySQL not online yet, waiting for it...
gazelle-php_fpm-1                | [16-Mar-2023 22:15:17] NOTICE: fpm is running, pid 1
gazelle-php_fpm-1                | [16-Mar-2023 22:15:17] NOTICE: ready to handle connections
Error response from daemon: driver failed programming external connectivity on endpoint gazelle-nginx-1 (5c5a0f49ce1a42396a3eb14cc508f95ed52b60274effd660741d613fbcba7c8d): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
dannymichel commented 1 year ago

I fixed them in docker-compose but i'm getting this now

 Running 7/7
 ✔ Container gazelle-memcached-1              Running                                                              0.0s 
 ✔ Container gazelle-gazelle_log_collector-1  Running                                                              0.0s 
 ✔ Container gazelle-mysql-1                  Running                                                              0.0s 
 ✔ Container gazelle-php_fpm-1                Running                                                              0.0s 
 ✔ Container gazelle-phpmyadmin-1             Running                                                              0.0s 
 ✔ Container gazelle-db_initializer-1         Running                                                              0.0s 
 ✔ Container gazelle-nginx-1                  Recreated                                                            1.6s 
Attaching to gazelle-db_initializer-1, gazelle-gazelle_log_collector-1, gazelle-memcached-1, gazelle-mysql-1, gazelle-nginx-1, gazelle-ocelot-1, gazelle-php_fpm-1, gazelle-phpmyadmin-1, gazelle-sphinxsearch-1
gazelle-nginx-1                  | Generating config.php from config.template...
gazelle-nginx-1                  | Updating nginx conf...
gazelle-nginx-1                  | Waiting for sphinxsearch...
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-ocelot-1 exited with code 1
gazelle-sphinxsearch-1 exited with code 1
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
gazelle-nginx-1                  | nc: getaddrinfo for host "sphinxsearch" port 9306: Name or service not known
octavius64 commented 1 year ago

Allowing port customization will involve more changes. Changing docker-compose.yml is not enough. I will look into it later. For now you will have to run this on a machine which has ports 80 and 443 available.

dannymichel commented 1 year ago

Allowing port customization will involve more changes. Changing docker-compose.yml is not enough. I will look into it later. For now you will have to run this on a machine which has ports 80 and 443 available.

Thanks for. all the help. I guess hit me up here if/when those changes are made I'm assuming this isn't as simple as a sed?