Commit 7037c39e authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Update conf file with variables

parent cd63c9fe
UDR = UDR =
{ {
INSTANCE_ID = 10; # 0 is the default INSTANCE_ID = @INSTANCE@; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default PID_DIRECTORY = "@PID_DIRECTORY@"; # /var/run is the default
INTERFACES: INTERFACES:
{ {
# UDR binded interface for Nudr interface # UDR binded interface for Nudr interface
NUDR: NUDR:
{ {
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE INTERFACE_NAME = "@UDR_INTERFACE_NAME_FOR_NUDR@"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read"; IPV4_ADDRESS = "read";
PORT = 80; # YOUR NETWORK CONFIG HERE PORT = @UDR_INTERFACE_PORT_FOR_NUDR@; # YOUR NETWORK CONFIG HERE
HTTP2_PORT = 8080; # YOUR NETWORK CONFIG HERE HTTP2_PORT = @UDR_INTERFACE_HTTP2_PORT_FOR_NUDR@; # YOUR NETWORK CONFIG HERE
API_VERSION = "v1"; # YOUR NUDR API VERSION CONFIG HERE API_VERSION = "@UDR_API_VERSION@"; # YOUR NUDR API VERSION CONFIG HERE
}; };
}; };
...@@ -20,9 +20,9 @@ UDR = ...@@ -20,9 +20,9 @@ UDR =
MYSQL: MYSQL:
{ {
## MySQL mandatory options ## MySQL mandatory options
MYSQL_SERVER = "127.0.0.1"; # MySQL Server address MYSQL_SERVER = "@MYSQL_IPV4_ADDRESS@"; # YOUR MYSQL DB ADDRESS HERE
MYSQL_USER = "root"; # Database server login MYSQL_USER = "@MYSQL_USER@"; # YOUR MYSQL USER HERE
MYSQL_PASS = "linux"; # Database server password MYSQL_PASS = "@MYSQL_PASS@"; # YOUR MYSQL PASSWORD HERE
MYSQL_DB = "oai_db"; # Your database name MYSQL_DB = "oai_db"; # YOUR DATA BASE NAME HERE
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment