anyproto / any-sync-dockercompose

docker-compose for testing any-sync
MIT License
394 stars 56 forks source link

Make file sync node ports overridable in .env #111

Closed Soukyuu closed 5 days ago

Soukyuu commented 5 days ago

Have you read a contributing guide?

Clear and concise description of the problem

I have another service which is already using port 8001, thus currently, anysync won't start. I can't change my other service's port, because that would require re-configuring several clients from scratch.

Suggested solution

Make the ports configurable via .env.override as other ports are.

Alternative

So far I attempted editing the yaml directly, which will break on any update, I suppose.

Additional context

No response

fb929 commented 5 days ago

I added variables of the type ANYSYNC*_METRIC_ADDR to allow configuring this. Please try using the latest "main".