xxaier commented on PR #1474: URL: https://github.com/apache/incubator-kvrocks/pull/1474#issuecomment-1562233080
docker run apache/kvrocks --some-key some-value --other-key other-value .... will run , but if you write docker-compose.yml and need read env for a .env, how to write ? change cmd ? Such an operation is very unintuitive. These bash scripts can be run on all platforms with docker and bash installed. Configuring docker through environment variables I think is a very common practice for exampe nginx : https://hub.docker.com/_/nginx <img width="818" alt="image" src="https://github.com/apache/incubator-kvrocks/assets/130831741/f5e9aab2-33ea-4f81-b9a4-4808fd6780bf"> for example postgres : https://hub.docker.com/_/postgres <img width="929" alt="image" src="https://github.com/apache/incubator-kvrocks/assets/130831741/9509c93d-18bc-47c9-a00e-07945627248d"> for example redis : https://hub.docker.com/_/redis <img width="1050" alt="image" src="https://github.com/apache/incubator-kvrocks/assets/130831741/dc03feae-832d-418b-9895-0e665e96ba0d"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
