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

Example of use .env file to store credentials #106

Open
7Adrian opened this issue Dec 29, 2024 · 2 comments
Open

Example of use .env file to store credentials #106

7Adrian opened this issue Dec 29, 2024 · 2 comments

Comments

@7Adrian
Copy link

7Adrian commented Dec 29, 2024

For security reasons, it would be helpful to provide an example of how to use a .env file for storing credentials.

@ctark
Copy link

ctark commented Dec 29, 2024

docker-compose.yml

  dell_fan_control:  #container name
    image: tigerblue77/dell_idrac_fan_controller:latest
    environment:
      IDRAC_PASSWORD: ${DELL_PASS_R530}
      IDRAC_USERNAME: ${DELL_USER_R530}
      IDRAC_HOST: ${DELL_HOST_R530}
      KEEP_THIRD_PARTY_PCIE_CARD_COOLING_RESPONSE_STATE_ON_EXIT: true
      DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE: true
      CHECK_INTERVAL: 10
      CPU_TEMPERATURE_THRESHOLD: 70
      CPU_TEMPERATURE_THRESHOLD_FOR_FAN_SPEED_INTERPOLATION: 30
      FAN_SPEED: 20
      HIGH_FAN_SPEED: 60

.env

DELL_USER_R530=root
DELL_PASS_R530=calvin
DELL_HOST_R530=192.168.1.123

@tigerblue77
Copy link
Owner

Use Docker secrets might be better ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants