19 lines
480 B
YAML
19 lines
480 B
YAML
|
# vim:ft=ansible:
|
||
|
- name: docker deploy nginx proxy
|
||
|
docker_container:
|
||
|
name: ingress
|
||
|
image: jonasal/nginx-certbot:2.2.0
|
||
|
env:
|
||
|
TZ: "America/Chicago"
|
||
|
CERTBOT_EMAIL: rehashedsalt@cock.li
|
||
|
networks:
|
||
|
- name: web
|
||
|
aliases: [ "ingress" ]
|
||
|
ports:
|
||
|
- "443:443"
|
||
|
- "80:80"
|
||
|
volumes:
|
||
|
- /data/nginx-certbot/letsencrypt:/etc/letsencrypt
|
||
|
- /data/nginx-certbot/user_conf.d:/etc/nginx/user_conf.d:ro
|
||
|
tags: [ docker, ingress ]
|