Skip to content

Commit 3d01217

Browse files
committed
feat: updated port and address
1 parent 946a192 commit 3d01217

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

imageroot/actions/configure-module/10configure_environment_vars

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,13 @@ import agent
1313
# Try to parse the stdin as JSON.
1414
# If parsing fails, output everything to stderr
1515
data = json.load(sys.stdin)
16-
# LISTMONK_app__address: 0.0.0.0:9000
17-
# LISTMONK_db__user: *db-user
18-
# LISTMONK_db__password: *db-password
19-
# LISTMONK_db__database: *db-name
20-
# LISTMONK_db__host: listmonk_db
21-
# LISTMONK_db__port: 5432
22-
# LISTMONK_db__ssl_mode: disable
23-
# LISTMONK_db__max_open: 25
24-
# LISTMONK_db__max_idle: 25
25-
# LISTMONK_db__max_lifetime: 300s
26-
# TZ: Etc/UTC
27-
# LISTMONK_ADMIN_USER: ${LISTMONK_ADMIN_USER:-} # If these (optional) are set during the first `docker compose up`, then the Super Admin user is automatically created.
28-
# LISTMONK_ADMIN_PASSWORD: ${LISTMONK_ADMIN_PASSWORD:-}
16+
2917
# This is specific to you module, so you need to change it accordingly.
3018
host = data.get("host")
3119
ADMIN_USERNAME = data.get("ADMIN_USERNAME", "listmonk")
3220
ADMIN_PASSWORD = data.get("ADMIN_PASSWORD", "listmonk")
3321
config = {
34-
"LISTMONK_app__address": "https://" + host,
22+
"LISTMONK_app__address": "0.0.0.0:9000",
3523
"LISTMONK_ADMIN_USER": ADMIN_USERNAME,
3624
"LISTMONK_ADMIN_PASSWORD": ADMIN_PASSWORD,
3725
}

0 commit comments

Comments
 (0)