Hello, I have a working knowledge of docker and linux but not much beyond 
that.  I have used both for years and can generally follow a guide to 
create a container.

I found a sample yml file in the docs so I decided to try that as my 
installation method.  I am running Open Media Vault, which is debian.  I am 
trying to perform this installation using portainer and portainer will 
perform  a docker-compose on the yml file. 

So here is my yml file.  I am getting an error on the volume - it is 
telling me that volume must be a mapping and not a string.  I'd appreciate 
any advice as I am not sure that my other configs are correct either (I am 
going on what I've done for other containers).

---
version: "3.8"

volumes:
  data:/srv/dev-disk-by-label-Docker/AppData/WeeWx

services:
  weewx:
    image: felddy/weewx
    init: true
    restart: "yes"
    volumes:
      - type: bind
        source: ./data
        target: /data
    environment:
      - TIMEZONE=US/Eastern
      - WEEWX_UID=1000
      - WEEWX_GID=100
    devices:
      - "/dev/ttyUSB0:/dev/ttyUSB0"

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a502db19-07dd-4616-8938-6d23aba3b116n%40googlegroups.com.

Reply via email to