Skip to content
Discussion options

You must be logged in to vote

You likely need to mount these files so they are accessible in the Docker container. The docker container is a completely isolated file system so it does not have access to anything unless you give it access.

Just off the top of my head, I think you will want something like this:

version: "3.5"
   
services:
  p2g:
    container_name: p2g
    image: philosowaffle/peloton-to-garmin
    environment:
      - P2G_PELOTON_EMAIL=peloton@gmail.com
      - P2G_PELOTON_PASS=peloton_password
      - P2G_GARMIN_ENABLE_UPLOAD=true
      - P2G_GARMIN_EMAIL=garmin@gmail.com
      - P2G_GARMIN_PASS=garmin_password
      - P2G_NUM=4
      - PTG_POLLING_INTERVAL_SECONDS=3600 # 1hr
      # additional envir…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noiwontsmile
Comment options

Answer selected by noiwontsmile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants