Open brianbruggeman opened 3 years ago
Looks fine. I just found one little point i would try to avoid. You hardcoded the ports into the config. What do you think about making them as env vars with a default value?
In addition, do you see any way to use the normal not docker release of the server? Maybe building the server from a custom dockerfile. While integrating Expressions, i figured out that the docker Image is a few days behind sometimes. Im not sure if this is a big deal but that made me spend some extra hours back then.
I had actually thought about adding a port variable initially, but then rejected it because:
At that point, I wondered if there was really much sense in adding a port variable.
That said I do want to make another update to the Makefile, so if you think there's enough of a good reason despite the above 4, I'm not opposed to adding it.
No you are right. I didnt think about just overwriting the whole variable. Thats perfectly fine.
@jonas32
I took your thoughts and made several port environment variables using: https://www.aerospike.com/docs/operations/configure/network/
At this point you can now override where they are resolved locally.
Adds a simple Makefile to standardize development
Addresses #95.