forked from data.coop/ansible
Add privatebin service
This commit is contained in:
parent
fefbabcc33
commit
83935a8649
|
@ -21,3 +21,6 @@ matrix:
|
||||||
|
|
||||||
riot:
|
riot:
|
||||||
domain: "riot.{{ base_domain }}"
|
domain: "riot.{{ base_domain }}"
|
||||||
|
|
||||||
|
privatebin:
|
||||||
|
domain: "paste.{{ base_domain }}"
|
||||||
|
|
18
roles/docker/tasks/services/privatebin.yml
Normal file
18
roles/docker/tasks/services/privatebin.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
- name: privatebin volume
|
||||||
|
docker_volume:
|
||||||
|
name: privatebin
|
||||||
|
|
||||||
|
- name: privatebin app container
|
||||||
|
docker_container:
|
||||||
|
name: privatebin
|
||||||
|
image: jgeusebroek/privatebin:latest
|
||||||
|
restart_policy: unless_stopped
|
||||||
|
volumes:
|
||||||
|
- privatebin:/privatebin
|
||||||
|
networks:
|
||||||
|
- name: external_services
|
||||||
|
env:
|
||||||
|
VIRTUAL_HOST: "{{ privatebin.domain }}"
|
||||||
|
LETSENCRYPT_HOST: "{{ privatebin.domain }}"
|
||||||
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
Loading…
Reference in a new issue