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:
commit
2a6235bab5
2 changed files with 7 additions and 6 deletions
|
@ -19,7 +19,6 @@
|
||||||
pwr_meter_pulse_gw_image: netz39/power-meter-pulse-gateway:0.3.0
|
pwr_meter_pulse_gw_image: netz39/power-meter-pulse-gateway:0.3.0
|
||||||
|
|
||||||
brotherql_host_port: 9004
|
brotherql_host_port: 9004
|
||||||
brotherql_web_image: pklaus/brother_ql_web:alpine_9e20b6d
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
# role 'docker_setup' applied through group 'docker_host'
|
# role 'docker_setup' applied through group 'docker_host'
|
||||||
|
@ -188,16 +187,18 @@
|
||||||
- name: Setup docker container for BrotherQL Web UI printer
|
- name: Setup docker container for BrotherQL Web UI printer
|
||||||
docker_container:
|
docker_container:
|
||||||
name: brotherql-web
|
name: brotherql-web
|
||||||
image: "{{ brotherql_web_image }}"
|
image: dersimn/brother_ql_web:2.1.7-alpine
|
||||||
pull: true
|
pull: true
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
state: started
|
state: started
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:{{ brotherql_host_port }}:8013"
|
- "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
|
detach: yes
|
||||||
env:
|
env:
|
||||||
TZ: "{{ timezone }}"
|
TZ: "{{ timezone }}"
|
||||||
|
tags:
|
||||||
|
- labelprinter
|
||||||
|
|
||||||
- name: Setup proxy site labelprinter.n39.eu
|
- name: Setup proxy site labelprinter.n39.eu
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -205,7 +206,8 @@
|
||||||
vars:
|
vars:
|
||||||
site_name: labelprinter.n39.eu
|
site_name: labelprinter.n39.eu
|
||||||
proxy_port: "{{ brotherql_host_port }}"
|
proxy_port: "{{ brotherql_host_port }}"
|
||||||
|
tags:
|
||||||
|
- labelprinter
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: restart mosquitto
|
- name: restart mosquitto
|
||||||
|
|
|
@ -3,5 +3,4 @@ server_admin: "admin+radon@netz39.de"
|
||||||
pwr_meter_amqp_user: "pwr-meter"
|
pwr_meter_amqp_user: "pwr-meter"
|
||||||
pwr_meter_amqp_pass: "{{ vault_pwr_meter_amqp_pass }}"
|
pwr_meter_amqp_pass: "{{ vault_pwr_meter_amqp_pass }}"
|
||||||
pwr_meter_api_token: "{{ vault_pwr_meter_api_token }}"
|
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_host: "brotherql-720nw.n39.eu"
|
||||||
brotherql_printer_ip: "172.23.48.53"
|
|
||||||
|
|
Loading…
Reference in a new issue