Update plexsync.yml

This commit is contained in:
timekills
2019-01-23 20:57:31 +04:30
committed by GitHub
parent 7143a3b8fc
commit d6b81d5fc9

View File

@@ -14,8 +14,8 @@
- name: 'Set Known Facts' - name: 'Set Known Facts'
set_fact: set_fact:
pgrole: 'plexsync' pgrole: 'plexsync'
# intport: '5800' intport: '1700'
# extport: '5800' extport: '1700'
image: 'nowsci/plex-db-sync' image: 'nowsci/plex-db-sync'
# CORE (MANDATORY) ############################################################ # CORE (MANDATORY) ############################################################
@@ -23,13 +23,13 @@
include_tasks: '/opt/plexguide/containers/_core.yml' include_tasks: '/opt/plexguide/containers/_core.yml'
# LABELS ###################################################################### # LABELS ######################################################################
# - name: 'Adding Traefik' - name: 'Adding Traefik'
# set_fact: set_fact:
# pg_labels: pg_labels:
# traefik.enable: 'true' traefik.enable: 'true'
# traefik.port: '{{intport}}' traefik.port: '{{intport}}'
# traefik.frontend.auth.forward.address: '{{gauth}}' traefik.frontend.auth.forward.address: '{{gauth}}'
# traefik.frontend.rule: 'Host:plexsync.{{domain.stdout}},{{tldset}}' traefik.frontend.rule: 'Host:plexsync.{{domain.stdout}},{{tldset}}'
- name: 'Setting PG Volumes' - name: 'Setting PG Volumes'
set_fact: set_fact:
@@ -61,8 +61,8 @@
name: '{{pgrole}}' name: '{{pgrole}}'
image: '{{image}}' image: '{{image}}'
pull: yes pull: yes
# published_ports: published_ports:
# - '{{ports.stdout}}{{extport}}:{{intport}}' - '{{ports.stdout}}{{extport}}:{{intport}}'
volumes: '{{pg_volumes}}' volumes: '{{pg_volumes}}'
env: '{{pg_env}}' env: '{{pg_env}}'
restart_policy: unless-stopped restart_policy: unless-stopped
@@ -71,7 +71,7 @@
aliases: aliases:
- '{{pgrole}}' - '{{pgrole}}'
state: started state: started
# labels: '{{pg_labels}}' labels: '{{pg_labels}}'
- name: 'Wait 7 Seconds' - name: 'Wait 7 Seconds'
wait_for: wait_for: