Add some stuff for MOVIE NIGHT WIT DA BOIS

This commit is contained in:
Salt 2021-08-24 16:58:45 -05:00
parent 6632e7185e
commit 45098866e3
2 changed files with 27 additions and 0 deletions

View File

@ -243,6 +243,19 @@
proxy_pass http://nagios:80;
}
}
server {
listen 443 ssl;
server_name movie.desu.ltd;
ssl_certificate /etc/letsencrypt/live/netbox.desu.ltd/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/netbox.desu.ltd/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/netbox.desu.ltd/chain.pem;
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://movienight:8089;
}
}
tags: [ docker, ingress ]
- name: include tasks for apps
include_tasks: tasks/app/{{ task }}
@ -254,6 +267,7 @@
- name: include tasks for web services
include_tasks: tasks/web/{{ task }}
with_items:
- movienight.yml
- netbox.yml
- nagios.yml
- ingress-generic.yml

View File

@ -0,0 +1,13 @@
# vim:ft=ansible:
- name: docker deploy movienight
docker_container:
name: movienight
image: rehashedsalt/movienight:latest
ports:
- 1935:1935
networks:
- name: web
aliases: [ "movienight" ]
volumes:
- /data/movienight/settings.json:/config/settings.json
tags: [ docker, movienight ]