Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing exposed ports #119

Closed
3 tasks done
indigo-sadland opened this issue Dec 23, 2024 · 1 comment · Fixed by #120
Closed
3 tasks done

Missing exposed ports #119

indigo-sadland opened this issue Dec 23, 2024 · 1 comment · Fixed by #120
Labels
bug Something isn't working

Comments

@indigo-sadland
Copy link

indigo-sadland commented Dec 23, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Release v6.1.0 is missing "ports" part in minio, mongo and redis containers in docker-compose.yml so their ports aren't exposed.

Expected Behavior

Ports should be exposed to external network.

Steps To Reproduce

  1. Clone the repository:
    git clone https://github.com/anyproto/any-sync-dockercompose.git
  2. Navigate to the project directory:
    cd any-sync-dockercompose
  3. Configuration:
    For configuration, use the .env.override file.
    For example, setting an external IP for listening:
    echo 'EXTERNAL_LISTEN_HOSTS=<yourExternalIp1> <yourExternalIp2' >> .env.override
  4. Run the project:
    make start

Environment

- OS: Ubuntu 22.04

Anything else?

No response

@indigo-sadland indigo-sadland added the bug Something isn't working label Dec 23, 2024
@indigo-sadland indigo-sadland changed the title Missing minio exposed port Missing exposed ports Dec 23, 2024
@fb929 fb929 linked a pull request Dec 23, 2024 that will close this issue
16 tasks
@fb929
Copy link
Collaborator

fb929 commented Dec 23, 2024

This was done for security reasons.
I added port configurations for Redis, Mongo, and Minio Admin in docker-compose.yml with access restricted to the host machine only.
If you also need external network access, use docker-compose.override.yml to override the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants