Merge pull request 'feat: use new and maintained brotherql-web docker image' (!252) from feat/new-brotherql-web-image into master

Reviewed-on: Netz39_Admin/netz39-infra-ansible#252
This commit is contained in:
dkdent 2023-11-04 21:01:09 +01:00
commit 2a6235bab5
2 changed files with 7 additions and 6 deletions

View file

@ -19,7 +19,6 @@
pwr_meter_pulse_gw_image: netz39/power-meter-pulse-gateway:0.3.0
brotherql_host_port: 9004
brotherql_web_image: pklaus/brother_ql_web:alpine_9e20b6d
roles:
# role 'docker_setup' applied through group 'docker_host'
@ -188,16 +187,18 @@
- name: Setup docker container for BrotherQL Web UI printer
docker_container:
name: brotherql-web
image: "{{ brotherql_web_image }}"
image: dersimn/brother_ql_web:2.1.7-alpine
pull: true
restart_policy: unless-stopped
state: started
ports:
- "127.0.0.1:{{ brotherql_host_port }}:8013"
command: " ./brother_ql_web.py --model QL-720NW tcp://{{ brotherql_printer_ip }}"
command: "--default-label-size 62 --model QL-720NW tcp://{{ brotherql_printer_host }}"
detach: yes
env:
TZ: "{{ timezone }}"
tags:
- labelprinter
- name: Setup proxy site labelprinter.n39.eu
include_role:
@ -205,7 +206,8 @@
vars:
site_name: labelprinter.n39.eu
proxy_port: "{{ brotherql_host_port }}"
tags:
- labelprinter
handlers:
- name: restart mosquitto

View file

@ -3,5 +3,4 @@ server_admin: "admin+radon@netz39.de"
pwr_meter_amqp_user: "pwr-meter"
pwr_meter_amqp_pass: "{{ vault_pwr_meter_amqp_pass }}"
pwr_meter_api_token: "{{ vault_pwr_meter_api_token }}"
# See https://git.n39.eu/Netz39_Admin/config.descartes/src/branch/live/dns_dhcp.txt
brotherql_printer_ip: "172.23.48.53"
brotherql_printer_host: "brotherql-720nw.n39.eu"