23 lines
551 B
Django/Jinja
23 lines
551 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
image: jgeusebroek/privatebin:{{ services.privatebin.version }}
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "./cfg:/privatebin/cfg"
|
|
- "./data:/privatebin/data"
|
|
networks:
|
|
- external_services
|
|
environment:
|
|
VIRTUAL_HOST: "{{ services.privatebin.domain }}"
|
|
LETSENCRYPT_HOST: "{{ services.privatebin.domain }}"
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
|
|
networks:
|
|
external_services:
|
|
external: true
|