Naposledy aktivní 2 days ago

mariushosting revidoval tento gist 2 days ago. Přejít na revizi

1 file changed, 22 insertions

evcc.yaml(vytvořil soubor)

@@ -0,0 +1,22 @@
1 + services:
2 + evcc:
3 + image: evcc/evcc:latest
4 + container_name: EVCC
5 + healthcheck:
6 + test: ["CMD-SHELL", "nc -z 127.0.0.1 7070 || exit 1"]
7 + interval: 10s
8 + timeout: 5s
9 + retries: 3
10 + start_period: 90s
11 + ports:
12 + - 7070:7070/tcp
13 + - 8887:8887/tcp
14 + - 9522:9522/udp
15 + - 4712:4712/tcp
16 + volumes:
17 + - /volume1/docker/evcc/config/evcc.yaml:/etc/evcc.yaml:rw
18 + - /volume1/docker/evcc/root:/root/.evcc:rw
19 + - /volume1/docker/evcc/machineid:/etc/machine-id:rw
20 + - /volume1/docker/evcc/machinebus:/var/lib/dbus/machine-id:rw
21 + network_mode: host
22 + restart: on-failure:5
Novější Starší