Categories
docker software

Using a macvlan Network in Docker Compose

Edit 2020-10-28: Update docker-compose to v1.27.0+ and you might be able to use IPAM config in a v3 compose file (Link) Docker Compose v3+ does not support IPAM configuration (gateway, ip_range, aux_addresses) of macvlan networks. This network definition used to work in v2, but as v3 targets Docker Swarm use cases, it was removed (NOT […]

Categories
docker

Cockpit and Traefik

HTTP 500, HTTP 404…etc Cockpit’s web server automatically redirects to port 443 with a self-defined SSL certificate. For my use case, I wanted SSL to terminate at Traefik, so I set the backend to point to http and disabled Cockpit’s SSL redirect. Note: To proxy to my host that’s running traefik and docker, I need […]

Categories
docker

Run InfluxDB v2 in Docker with volume mounts

Dockerizing InfluxDB v2 (influxdbv2) By default, the influxdb:2.0.0-alpha docker image uses the following key file locations (per InfluxDBv2 docs), but doesn’t mention setting them in the docker image documentation. –bolt-path Default: ~/.influxdbv2/influxd.boltInfluxDB uses BoltDB to store data including organization and user information, UI data, REST resources, and other key value data. –engine-path Default: ~/.influxdbv2/enginePersistent storage […]

Categories
docker

Traefik entrypoint has no TLS configuration for ACME configuration

Started receiving this error in my traefik docker container logs: Entrypoint \”https\” has no TLS configuration for ACME configuration” when I began redirecting http to https via [entryPoints.http] address = “:80” [entryPoints.http.redirect] entryPoint = “https” This log entry appeared when I had only “https” as a “defaultentrypoint”. Adding http to defaultentrypoints resolved the log entries: […]