forked from data.coop/ansible
19 lines
465 B
YAML
19 lines
465 B
YAML
|
---
|
||
|
- 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 }}"
|