Remove shenanigans
It's not enabled, and it's 1 less container to deal with
This commit is contained in:
parent
6d890a6991
commit
491061d900
4 changed files with 0 additions and 44 deletions
|
@ -16,7 +16,6 @@ services:
|
||||||
- "{{ private_ip }}:8080:8080"
|
- "{{ private_ip }}:8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
- docker_proxy
|
- docker_proxy
|
||||||
- shenanigans
|
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
- traefik
|
- traefik
|
||||||
|
@ -35,16 +34,6 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: none
|
driver: none
|
||||||
|
|
||||||
shenanigans:
|
|
||||||
image: nginx:alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /opt/traefik/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
networks:
|
|
||||||
- proxy_private
|
|
||||||
logging:
|
|
||||||
driver: none
|
|
||||||
|
|
||||||
certs:
|
certs:
|
||||||
image: slocomptech/traefik-cert-extract:latest
|
image: slocomptech/traefik-cert-extract:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -8,7 +8,3 @@ http:
|
||||||
headers:
|
headers:
|
||||||
customResponseHeaders:
|
customResponseHeaders:
|
||||||
Permissions-Policy: interest-cohort=()
|
Permissions-Policy: interest-cohort=()
|
||||||
|
|
||||||
shenanigans:
|
|
||||||
forwardAuth:
|
|
||||||
address: http://shenanigans
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
# NOTE: Use `$http_x_forwarded_host` intead of `$host`.
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80 default_server;
|
|
||||||
|
|
||||||
# Get IP correctly
|
|
||||||
real_ip_header X-Forwarded-For;
|
|
||||||
set_real_ip_from 0.0.0.0/0;
|
|
||||||
|
|
||||||
# Allow everything through by default
|
|
||||||
location / {
|
|
||||||
return 200;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -106,18 +106,3 @@
|
||||||
- name: fail2ban
|
- name: fail2ban
|
||||||
include_tasks: fail2ban.yml
|
include_tasks: fail2ban.yml
|
||||||
when: with_fail2ban
|
when: with_fail2ban
|
||||||
|
|
||||||
- name: Check for nginx config
|
|
||||||
stat:
|
|
||||||
path: /opt/traefik/nginx.conf
|
|
||||||
register: nginx_file
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Create nginx config, if it doesn't exist already
|
|
||||||
template:
|
|
||||||
src: files/nginx.conf
|
|
||||||
dest: /opt/traefik/nginx.conf
|
|
||||||
mode: "0600"
|
|
||||||
when: not nginx_file.stat.exists
|
|
||||||
notify: restart traefik
|
|
||||||
become: true
|
|
||||||
|
|
Loading…
Reference in a new issue