photonixapp / photonix

A modern, web-based photo management server. Run it on your home server and it will let you find the right photo from your collection on any device. Smart filtering is made possible by object recognition, face recognition, location awareness, color analysis and other ML algorithms.
https://photonix.org/
GNU Affero General Public License v3.0
1.85k stars 125 forks source link

Can't bind to port 8888 in photonix container #410

Closed boscogh closed 1 year ago

boscogh commented 1 year ago

Describe the bug Something seems broken in current setup or documentation. I just go throuth the initial steps in readme.md and was unable to get it started

To Reproduce Steps to reproduce the behavior:

  1. Change drive to D:
  2. Create dir photonix
  3. Exec command curl https://raw.githubusercontent.com/photonixapp/photonix/master/docker/docker-compose.example.yml > docker-compose.yml
  4. run docker-compose up
  5. See following error photonix-redis | 1:M 05 Nov 2022 08:10:21.586 * Ready to accept connections Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:8888 -> 0.0.0.0:0: listen tcp 0.0.0.0:8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
  6. Unable to connect to the app either via localhost:8888 or localhost:80
  7. docker container photonix is not appear in the docker ps
  8. posetgres and redis seems running ok Expected behavior Able to connect either via localhost:8888 or localhost:80

Server (please complete the following information):

boscogh commented 1 year ago

it seems to work after changing to