forked from data.coop/ansible
26 lines
597 B
YAML
26 lines
597 B
YAML
---
|
|
|
|
- name: thelounge volume
|
|
docker_volume:
|
|
name: thelounge
|
|
|
|
- name: upload thelounge config
|
|
copy:
|
|
src: 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 }}"
|