Skip to content

Commit

Permalink
old ui rewrite
Browse files Browse the repository at this point in the history
mountcheck update
( read is docker uploader running )
3 x index.php for replacing
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Jan 12, 2020
1 parent d0c0573 commit bd25a05
Show file tree
Hide file tree
Showing 5 changed files with 551 additions and 81 deletions.
43 changes: 43 additions & 0 deletions menu/functions/autoheal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash
# Title: autoheal
# GNU: General Public License v3.0
################################################################################
---
- hosts: localhost
gather_facts: false
tasks:
# FACTS #######################################################################
- name: 'Set Known Facts'
set_fact:
pgrole: 'autoheal'
image: 'willfarrell/autoheal'
- name: 'Setting {{pgrole}} Volumes'
set_fact:
pg_volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/localtime:/etc/localtime:ro'

- name: 'Setting {{pgrole}} ENV'
set_fact:
pg_env:
AUTOHEAL_CONTAINER_LABEL: 'all'
AUTOHEAL_INTERVAL: '5'
AUTOHEAL_START_PERIOD: '0'
AUTOHEAL_DEFAULT_STOP_TIMEOUT: '10'
CURL_TIMEOUT: '30'
DOCKER_SOCK: '/var/run/docker.sock'

# MAIN DEPLOYMENT #############################################################
- name: 'Deploying {{pgrole}}'
docker_container:
name: '{{pgrole}}'
image: '{{image}}'
pull: yes
volumes: '{{pg_volumes}}'
env: '{{pg_env}}'
restart_policy: unless-stopped
networks:
- name: plexguide
aliases:
- 'autoheal'
state: started
Loading

0 comments on commit bd25a05

Please sign in to comment.