fix(synapse): allow specifying env vars for the docker container

This commit is contained in:
transcaffeine 2021-03-25 12:52:53 +01:00
parent 2c3b455172
commit cd65919a63
No known key found for this signature in database
GPG key ID: 03624C433676E465
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ matrix_synapse_docker_networks: []
matrix_synapse_docker_etc_hosts: {} matrix_synapse_docker_etc_hosts: {}
matrix_synapse_docker_ports: ["8008:8008", "8448:8448"] matrix_synapse_docker_ports: ["8008:8008", "8448:8448"]
matrix_synapse_docker_labels: {} matrix_synapse_docker_labels: {}
matrix_synapse_docker_env: {}
matrix_synapse_docker_recreate: false matrix_synapse_docker_recreate: false
matrix_synapse_docker_pull: true matrix_synapse_docker_pull: true
matrix_synapse_extra_docker_volumes: [] matrix_synapse_extra_docker_volumes: []

View file

@ -64,6 +64,7 @@
etc_hosts: "{{ matrix_synapse_docker_etc_hosts }}" etc_hosts: "{{ matrix_synapse_docker_etc_hosts }}"
ports: "{{ matrix_synapse_docker_ports }}" ports: "{{ matrix_synapse_docker_ports }}"
labels: "{{ matrix_synapse_docker_labels_complete }}" labels: "{{ matrix_synapse_docker_labels_complete }}"
env: "{{ matrix_synapse_docker_env }}"
restart_policy: unless-stopped restart_policy: unless-stopped
recreate: "{{ matrix_synapse_docker_recreate }}" recreate: "{{ matrix_synapse_docker_recreate }}"
pull: "{{ matrix_synapse_docker_pull }}" pull: "{{ matrix_synapse_docker_pull }}"