Skip to content

Instantly share code, notes, and snippets.

@jamct
Created August 9, 2024 09:37
Show Gist options
  • Save jamct/8e70f4169f0187849ad4bcf5ee57662f to your computer and use it in GitHub Desktop.
Save jamct/8e70f4169f0187849ad4bcf5ee57662f to your computer and use it in GitHub Desktop.
Run evcc in docker
services:
evcc:
command:
- evcc
container_name: evcc
image: evcc/evcc:latest
ports:
- 7070:7070/tcp
- 8887:8887/tcp
- 7090:7090/udp
- 9522:9522/udp
volumes:
- ./evcc.yaml:/etc/evcc.yaml
- ./data:/root/.evcc
restart: unless-stopped
  1. Install docker (https://docs.docker.com/engine/install/)

2 Run the following commands on your machine:

mkdir evcc
cd evcc
touch evcc.yaml
docker run -v $(pwd)/evcc.yaml:/app/evcc.yaml -it evcc/evcc evcc configure

You have a config file called evcc.yaml.

  1. Place the file docker-compose.yml in the folder and run
docker compose up -d
  1. The frontend is running on http://<IP of your device>:7070/
@BadaBoomi
Copy link

Great!
Exactly what I was looking for! Setup was done in minutes, only needed a token ( 2€/month ) because of my Webasto wallbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment