Docker install but site cant be reached

i install via docker
1588aee1d893 nextcloud:fpm “/entrypoint.sh php-…” 41 seconds ago Up 38 seconds 0.0.0.0:5000->5000/tcp, 9000/tcp

but when i go to localhost:5000 i cant connect

this site can’t be reached

you need a nginx container as a web server.
the fpm container can’t handle static web content (html/css).

example: https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml

1 Like