Преглед изворни кода

Configure Honoroit's listener port

pull/5555/merge
Slavi Pantaleev пре 1 дан
родитељ
комит
92c7d216c8
3 измењених фајлова са 5 додато и 1 уклоњено
  1. +3
    -0
      roles/custom/matrix-bot-honoroit/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-bot-honoroit/templates/env.j2
  3. +1
    -1
      roles/custom/matrix-bot-honoroit/templates/labels.j2

+ 3
- 0
roles/custom/matrix-bot-honoroit/defaults/main.yml Прегледај датотеку

@@ -41,6 +41,9 @@ matrix_bot_honoroit_config_path: "{{ matrix_bot_honoroit_base_path }}/config"
matrix_bot_honoroit_data_path: "{{ matrix_bot_honoroit_base_path }}/data"
matrix_bot_honoroit_data_store_path: "{{ matrix_bot_honoroit_data_path }}/store"

# The TCP port Honoroit listens on inside the container.
matrix_bot_honoroit_container_port: 8080

# The base container network. It will be auto-created by this role if it doesn't exist already.
matrix_bot_honoroit_container_network: ""



+ 1
- 0
roles/custom/matrix-bot-honoroit/templates/env.j2 Прегледај датотеку

@@ -11,6 +11,7 @@ HONOROIT_LOGIN={{ matrix_bot_honoroit_login }}
HONOROIT_PASSWORD={{ matrix_bot_honoroit_password }}
HONOROIT_HOMESERVER={{ matrix_bot_honoroit_homeserver }}
HONOROIT_ROOMID={{ matrix_bot_honoroit_roomid }}
HONOROIT_PORT=:{{ matrix_bot_honoroit_container_port }}
HONOROIT_DB_DSN={{ matrix_bot_honoroit_database_connection_string }}
HONOROIT_DB_DIALECT={{ matrix_bot_honoroit_database_dialect }}
HONOROIT_PREFIX={{ matrix_bot_honoroit_prefix }}


+ 1
- 1
roles/custom/matrix-bot-honoroit/templates/labels.j2 Прегледај датотеку

@@ -12,7 +12,7 @@ traefik.enable=true
traefik.docker.network={{ matrix_bot_honoroit_container_labels_traefik_docker_network }}
{% endif %}

traefik.http.services.matrix-bot-honoroit-metrics.loadbalancer.server.port=8080
traefik.http.services.matrix-bot-honoroit-metrics.loadbalancer.server.port={{ matrix_bot_honoroit_container_port }}

{% set middlewares = [] %}



Loading…
Откажи
Сачувај