Skip to content

Commit

Permalink
Working on v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdalertdk committed Oct 17, 2024
1 parent 53e6c59 commit 6813446
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUILD_VERSION=v1.3.0
BUILD_VERSION=v1.3.1
9 changes: 4 additions & 5 deletions entrypoint.d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,14 @@ def mediamtx_config_init():

# Override settings to make OTS work in a container
config.update(
OTS_LISTENER_ADDRESS = os.environ.get("DOCKER_OTS_LISTENER_ADDRESS", "0.0.0.0"),
OTS_LISTENER_ADDRESS = os.environ.get("DOCKER_OTS_LISTENER_ADDRESS", "0.0.0.0"),
OTS_RABBITMQ_SERVER_ADDRESS = os.environ.get("DOCKER_OTS_RABBITMQ_SERVER_ADDRESS", "rabbitmq"),
OTS_MEDIAMTX_API_ADDRESS = os.environ.get("DOCKER_OTS_MEDIAMTX_API_ADDRESS", "http://mediamtx:9997"),
OTS_CA_SUBJECT = '/C={}/ST={}/L={}/O={}/OU={}'.format( config["OTS_CA_COUNTRY"], config["OTS_CA_STATE"], config["OTS_CA_CITY"], config["OTS_CA_ORGANIZATION"], config["OTS_CA_ORGANIZATIONAL_UNIT"] ),
SECURITY_TOTP_ISSUER = config["OTS_CA_ORGANIZATION"]
OTS_MEDIAMTX_API_ADDRESS = os.environ.get("DOCKER_OTS_MEDIAMTX_API_ADDRESS", "http://mediamtx:9997"),
SECURITY_TOTP_ISSUER = config["OTS_CA_ORGANIZATION"]
OTS_CA_SUBJECT = '/C={}/ST={}/L={}/O={}/OU={}'.format( config["OTS_CA_COUNTRY"], config["OTS_CA_STATE"], config["OTS_CA_CITY"], config["OTS_CA_ORGANIZATION"], config["OTS_CA_ORGANIZATIONAL_UNIT"] ),
)

mediamtx_config_init()

save_config(config)
else:
print('Container init | Found existing config.yml')
Expand Down

0 comments on commit 6813446

Please sign in to comment.