ansible/roles/docker/tasks/services/privatebin.yml

19 lines
465 B
YAML
Raw Normal View History

2019-02-13 07:50:42 +00:00
---
- name: privatebin volume
docker_volume:
name: privatebin
- name: privatebin app container
docker_container:
name: privatebin
image: jgeusebroek/privatebin:latest
2019-02-13 07:54:05 +00:00
restart_policy: unless-stopped
2019-02-13 07:50:42 +00:00
volumes:
- privatebin:/privatebin
networks:
- name: external_services
env:
VIRTUAL_HOST: "{{ privatebin.domain }}"
LETSENCRYPT_HOST: "{{ privatebin.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"