What's wrong?
After running docker-compose --profile all up -d, I can't access the MeshCore Hub website.
Why?
The docker-compose.yml file is missing the ports configuration. The container is running, but it isn't exposing the port to the outside.
Adding the parameter:
ports:
-"8080:8080"
solves the problem
What's wrong?
After running `docker-compose --profile all up -d`, I can't access the MeshCore Hub website.
Why?
The `docker-compose.yml` file is missing the `ports` configuration. The container is running, but it isn't exposing the port to the outside.
Adding the parameter:
ports:
-"8080:8080"
<img width="885" height="498" alt="Image" src="https://github.com/user-attachments/assets/fb863afa-0510-4a23-88ef-8cd73d1c5bb7" />
solves the problem
<!-- github-sync-id:4322589266 -->
Hello. I was expecting a few teething issues with the new release, so apologies that you aren't have the best experience.
For production environments, its advisable to use a reverse proxy (with TLS), e.g. Traefik, Nginx, Caddy, etc.
But if you want to expose ports directly, you'll have to use the docker-compose.dev.yml as well as the main docker-compose.yml. The dev compose file actually exposes the ports locally. This should be explained in the README (https://github.com/ipnet-mesh/meshcore-hub/blob/main/README.md#docker-compose-profiles), but in short you need to specify both compose files:
# Development (default — exposes ports for local access)
docker compose -f docker-compose.yml -f docker-compose.dev.yml --profile all up -d
Docker Compose will merge the the ports configuration (from the docker-compose.dev.yml compose file) on top of the standard docker-compose.yml definitions).
I appreciate the feedback and will update the documentation if its unclear.
Hello. I was expecting a few teething issues with the new release, so apologies that you aren't have the best experience.
For production environments, its advisable to use a reverse proxy (with TLS), e.g. Traefik, Nginx, Caddy, etc.
But if you want to expose ports directly, you'll have to use the `docker-compose.dev.yml` as well as the main `docker-compose.yml`. The `dev` compose file actually exposes the ports locally. This should be explained in the README (https://github.com/ipnet-mesh/meshcore-hub/blob/main/README.md#docker-compose-profiles), but in short you need to specify both compose files:
```
# Development (default — exposes ports for local access)
docker compose -f docker-compose.yml -f docker-compose.dev.yml --profile all up -d
```
The `dev` compose file actually specifies the exposed ports: https://github.com/ipnet-mesh/meshcore-hub/blob/main/docker-compose.dev.yml
Docker Compose will merge the the `ports` configuration (from the `docker-compose.dev.yml` compose file) on top of the standard `docker-compose.yml` definitions).
I appreciate the feedback and will update the documentation if its unclear.
<!-- github-comment-id:4313151598 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What's wrong?
After running
docker-compose --profile all up -d, I can't access the MeshCore Hub website.Why?
The
docker-compose.ymlfile is missing theportsconfiguration. The container is running, but it isn't exposing the port to the outside.Adding the parameter:
ports:
-"8080:8080"
solves the problem
Hello. I was expecting a few teething issues with the new release, so apologies that you aren't have the best experience.
For production environments, its advisable to use a reverse proxy (with TLS), e.g. Traefik, Nginx, Caddy, etc.
But if you want to expose ports directly, you'll have to use the
docker-compose.dev.ymlas well as the maindocker-compose.yml. Thedevcompose file actually exposes the ports locally. This should be explained in the README (https://github.com/ipnet-mesh/meshcore-hub/blob/main/README.md#docker-compose-profiles), but in short you need to specify both compose files:The
devcompose file actually specifies the exposed ports: https://github.com/ipnet-mesh/meshcore-hub/blob/main/docker-compose.dev.ymlDocker Compose will merge the the
portsconfiguration (from thedocker-compose.dev.ymlcompose file) on top of the standarddocker-compose.ymldefinitions).I appreciate the feedback and will update the documentation if its unclear.