--- - name: thelounge volume docker_volume: name: thelounge - name: upload thelounge config template: src: files/configs/thelounge.js dest: /var/lib/docker/volumes/thelounge/_data/config.js - name: thelounge container docker_container: name: thelounge image: thelounge/lounge:latest restart_policy: always volumes: - thelounge:/home/lounge/data networks: - name: external_services - name: ldap env: VIRTUAL_HOST: "{{ thelounge.domain }}" LETSENCRYPT_HOST: "{{ thelounge.domain }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"