A docker container to run dun/conmain.
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
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 | Function |
---|---|
/config | This directory will contain conman.conf |
- If /config/conman.conf does not exist, the default configuration file will be installed
- Map any serial devices into the container
- Pass logrotate parameters as ENV variables?