forked from data.coop/ansible
28 lines
648 B
YAML
28 lines
648 B
YAML
|
---
|
||
|
|
||
|
- 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
|
||
|
published_ports:
|
||
|
- "9000:9000"
|
||
|
volumes:
|
||
|
- thelounge:/home/lounge/data
|
||
|
networks:
|
||
|
- name: external_services
|
||
|
- name: ldap
|
||
|
env:
|
||
|
VIRTUAL_HOST: "{{ thelounge.domain }}"
|
||
|
LETSENCRYPT_HOST: "{{ thelounge.domain }}"
|
||
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|