Skip to content

jchonig/docker-conman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-conman

A docker container to run dun/conmain.

Usage

docker-compose

Compatible with docker-compose v3 schemas.

---
version: "3"
services:
  conman:
    image: jchonig/conman
    container_name: conman
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
	  - PATHTO/config:/config
	  - PATHTO/logs:/logs
	expose:
	  - 7980
    devices:
      - /dev/ttyUSB00:/dev/ttyUSB00
    restart: unless-stopped

Parameters

Environment Variables (-e)

Env Function
PUID=1000 for UserID - Set to UID that will run conman
PGID=1000 for GroupID - Set to GID that will run conman
TZ=UTC Specify a timezone to use EG UTC

Volume Mappings (-v)

Volume Function
/config This directory will contain conman.conf

Application Setup

  • If /config/conman.conf does not exist, the default configuration file will be installed
  • Map any serial devices into the container

TODO

  • Pass logrotate parameters as ENV variables?

Releases

No releases published

Packages

No packages published