diff --git a/.env.template b/.env.template new file mode 100644 index 000000000..f4ae445ff --- /dev/null +++ b/.env.template @@ -0,0 +1,7 @@ +MONGODB_USERNAME=root +MONGODB_PASSWORD=root +INFLUXDB_USERNAME=root +INFLUXDB_PASSWORD=password +JWT_PASSWORD=password +JWT_SALT=saltines +HORNET_CONFIG_PATH=config_testnet.json diff --git a/README.md b/README.md index 605285d56..002a254e1 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,5 @@ INFLUXDB_USERNAME=root INFLUXDB_PASSWORD=password JWT_PASSWORD=password JWT_SALT=saltines +HORNET_CONFIG_PATH=config_testnet.json ``` diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 07433abf7..82a268eec 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -84,6 +84,7 @@ services: # - "-c" # - "config_testnet.json" # - "config_alphanet.json" + - "-c ${HORNET_CONFIG_PATH}" - "--inx.enabled=true" - "--inx.bindAddress=hornet:9029" - "--prometheus.enabled=true"