Cloud-Init may not create a user literally called admin
even though the configuration might be valid.
Log files are available:
cat /var/log/cloud/cloud-init.log
cat /var/log/cloud/cloud-init-output.log
version: "3" | |
services: | |
chronograf: | |
image: chronograf:{{ services.chronograf.version }} | |
container_name: chronograf | |
{% if 'influxdb' in services %} | |
depends_on: | |
- influxdb | |
{% endif %} | |
environment: |
# Encrypting plain-text password with value `password` with bcyrpt | |
NODERED_ADMIN_PASSWORD=$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN. |
#!/bin/env bash | |
# Bash script to insert a private registry as "insecure-registries" for Docker Daemon | |
# as well as configure the Docker Config File to store the credentials locally | |
# Version: 0.1.0 | |
# Authors: Shan Desai <[email protected]> | |
set -e | |
JQ=`which jq` | |
DOCKER=`which docker` | |
SPONGE=`which sponge` |
# Usage: docker compose up -d | |
# docker compose logs | |
# docker compose down | |
services: | |
node-red: | |
image: nodered/node-red:2.2.2-12-minimal | |
container_name: secure_nodered | |
env_file: | |
- ./node-red.env |
{ | |
"version": 0, | |
"tools": { | |
"opcuaPF": { | |
"label": "OPC-UA Port Forwarding", | |
"path": "opcuaPF.html" | |
} | |
} | |
} |
Render your InfluxDB v2 UI behind a Traefik Reverse-Proxy
InfluxDBv2 does not provide any configuration flags / environment variables
that can help render the UI as paths e.g. /influxdb
. However, there is a
potential way to circumvent this problem but using Host
in Traefik.
NOTE: PLEASE DO NOT DEPLOY THIS STACK IN PRODUCTION.
DOCKER_INFLUXDB_INIT_MODE=setup | |
DOCKER_INFLUXDB_INIT_ORG=Edgy | |
DOCKER_INFLUXDB_INIT_BUCKET=data | |
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=edgestack | |
DOCKER_INFLUXDB_INIT_USERNAME=admin | |
DOCKER_INFLUXDB_INIT_PASSWORD=edgestack |
version: '3.7' | |
services: | |
portainer: | |
image: portainer/portainer-ce:latest | |
container_name: sys_portainer | |
restart: always | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
command: | |
- '--admin-password-file=/run/secrets/portainer_admin_password' |
#!/bin/bash | |
/usr/bin/docker run --name=mosquitto-broker -p 1883:1883 \ | |
-v $(pwd)/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf \ | |
eclipse-mosquitto:2.0 | |
exit 0 |