home-climate-control / dz

Home Climate Control Core: *the* Open Source multi-zone temperature and climate control system.
http://homeclimatecontrol.com/
GNU General Public License v3.0
59 stars 7 forks source link

Docker image: figure out how to support Google OAuth2 flow from inside the container #257

Closed climategadgets closed 10 months ago

climategadgets commented 10 months ago

Not the biggest fish to fry, will be resolved later.

Workaround: run the SpringBoot variant once, then map the Docker image directories to actual. Here's the snippet from the actual Docker script:

docker run
    --name hcc \
    --restart=unless-stopped \
    -v ${HOME}/.dz/docker/conf:/app/config \
    -v ${HOME}/.dz/docker/logs:/app/logs \
    -v ${HOME}/.dz/docker/counters:/root/.dz/counters \
    -v ${HOME}/.dz/calendar:/root/.dz/calendar \
    -v ${HOME}/.dz/oauth:/root/.dz/oauth \
    ...
    climategadgets/hcc-springboot-experimental $*