For the development environment, the docker-compose file needs an .env file:
# DB
## MARIADB
MARIADB_ROOT_USERNAME=root
MARIADB_ROOT_PASSWORD=<db password>
MARIADB_DATABASE=flyingfish
## INFLUXDB
INFLUXDB_URL=http://10.103.0.5:8086
INFLUXDB_USERNAME=flyingfish
INFLUXDB_PASSWORD=<user password influxdb>
INFLUXDB_ORG=flyingfish
INFLUXDB_BUCKET=flyingfish
INFLUXDB_RETENTION=4w
INFLUXDB_ADMIN_TOKEN=<a token>
# HTTP Server
HTTPSERVER_PORT=3000
# Logging
LOGGING_LEVEL=silly
# Service
## HIMHIP
HIMHIP_USE=1
HIMHIP_SECRET=<himhip secret>
## Dyn dns server
DYNDNSSERVER_ENABLE=1
NPM-Registry
The latest (v1.1.12) version can be used to specify the npm registry to build the software in the image. With this information you can specify your own package manager server. This can save traffic or specifically check dependencies.
So that docker knows the registry URL when building the image, simply specify the argument.