Skip to content

wielorzeczownik/docker-argonone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Docker Argon One

Raspberry Pi Docker Gitmoji License Issues Pulls

Dockerized Driver for Argon ONE 🐳

Useful when you're running an operating system other than Raspberry Pi OS.

This Docker image is based on the work of johnmerchant.

πŸš€ Quick Start

To get a local copy up and running follow these simple steps.

Using Docker Compose

  1. Create docker-compose.yml as follows:
version: "3.9"

services:
  argonone:
    container_name: argonone
    image: wielorzeczownik/argonone:latest
    privileged: true
    restart: unless-stopped
  1. Run docker compose to start Argon ONE.
   docker compose up -d
  1. You're all set! :godmode:

Using Docker Run

  1. Run the following command:
   docker run -d \
    --name argonone \
    --privileged \
    --restart unless-stopped \
    wielorzeczownik/argonone:latest
  1. You're all set! :finnadie:

βš™οΈ Configuration

To configure Argon ONE, add another volume mounted to /etc/argononed.conf as shown below:

  version: "3.9"

  services:
    argonone:
      container_name: argonone
      image: wielorzeczownik/argonone:latest
      privileged: true
      restart: unless-stopped
      volumes:
        - {your_cool_file}.conf:/etc/argononed.conf

or

  docker run -d \
    --name argonone \
    --privileged \
    --restart unless-stopped \
    -v {your_cool_file}.conf:/etc/argononed.conf \
    wielorzeczownik/argonone:latest

Default Configuration File Pattern

  #
  # Argon One Fan Configuration
  #
  # List below the temperature (Celsius) and fan speed (in percent) pairs
  # Use the following form:
  # min.temperature=speed
  #
  # Example:
  # 55=10
  # 60=55
  # 65=100
  #
  # Above example sets the fan speed to
  #
  # NOTE: Lines begining with # are ignored
  #
  # Type the following at the command line for changes to take effect:
  # sudo systemctl restart argononed.service
  #
  # Start below:
  55=10
  60=55
  65=100

Additionally, if you don't have I2C enabled below I insert instructions on how to enable it on Alpine Linux system:

Add the following line to your /boot/config.txt or /boot/usercfg.txt file:

  dtparam=i2c_arm=on

You may also need to load the i2c-dev module temporarily with the following command:

  modprobe i2c-dev

To make the module load at boot permanently, create a file called /etc/modules-load.d/i2c.conf with the following content:

  i2c-dev

Now, your I2C hardware should be enabled, and you can proceed with configuring Argon ONE.

πŸ“§ Need Help or Have Questions?

If you encounter any issues, feel free to send me a private message or open an issue here.