Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin9705 committed Aug 17, 2019
1 parent 9070238 commit f32f3c2
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions programs/plex/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@
################################################################################
---
- name: 'Deploying {{pgrole}}'
docker_container:
name: '{{pgrole}}'
image: '{{imageselect.stdout}}'
pull: yes
published_ports:
- '{{ext1}}:{{int1}}'
- '{{ports}}{{ext2}}:{{int2}}'
- '{{ports}}{{ext3}}:{{int3}}'
- '{{ports}}{{ext4}}:{{int4}}'
- '{{ports}}{{ext5}}:{{int5}}'
- '{{ports}}{{ext6}}:{{int6}}'
- '{{ports}}{{ext7}}:{{int7}}'
- '{{ports}}{{ext8}}:{{int8}}'
- '{{ports}}{{ext9}}:{{int9}}'
volumes: '{{pg_volumes}}'
devices: "{{ '/dev/dri:/dev/dri' if dev_dri.stat.exists == True | default(false) else omit }}"
etc_hosts:
{ 'analytics.plex.tv': '127.0.0.1', 'metrics.plex.tv': '127.0.0.1' }
restart_policy: unless-stopped
state: started
env:
PLEX_UID: '1000'
PLEX_GID: '1000'
ADVERTISE_IP: '{{customConnections}}'
networks:
- name: plexguide
aliases:
- '{{pgrole}}'
restart_policy: unless-stopped
state: started
labels: '{{pg_labels}}'
docker_container:
name: '{{pgrole}}'
image: '{{imageselect.stdout}}'
pull: yes
published_ports:
- '{{ext1}}:{{int1}}'
- '{{ports}}{{ext2}}:{{int2}}'
- '{{ports}}{{ext3}}:{{int3}}'
- '{{ports}}{{ext4}}:{{int4}}'
- '{{ports}}{{ext5}}:{{int5}}'
- '{{ports}}{{ext6}}:{{int6}}'
- '{{ports}}{{ext7}}:{{int7}}'
- '{{ports}}{{ext8}}:{{int8}}'
- '{{ports}}{{ext9}}:{{int9}}'
volumes: '{{pg_volumes}}'
devices: "{{ '/dev/dri:/dev/dri' if dev_dri.stat.exists == True | default(false) else omit }}"
etc_hosts:
{ 'analytics.plex.tv': '127.0.0.1', 'metrics.plex.tv': '127.0.0.1' }
restart_policy: unless-stopped
state: started
env:
PLEX_UID: '1000'
PLEX_GID: '1000'
ADVERTISE_IP: '{{customConnections}}'
networks:
- name: plexguide
aliases:
- '{{pgrole}}'
restart_policy: unless-stopped
state: started
labels: '{{pg_labels}}'

0 comments on commit f32f3c2

Please sign in to comment.