mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-25 05:04:10 +00:00
Add files via upload
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Title: PGBlitz (Reference Title File)
|
# Title: PGBlitz (linuxserver/airsonic)
|
||||||
# Author(s): Admin9705
|
# Author(s): MrDoob
|
||||||
# URL: https://pgblitz.com - http://github.pgblitz.com
|
# URL: https://pgblitz.com - http://github.pgblitz.com
|
||||||
# GNU: General Public License v3.0
|
# GNU: General Public License v3.0
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
pgrole: 'airsonic'
|
pgrole: 'airsonic'
|
||||||
intport: '4040'
|
intport: '4040'
|
||||||
extport: '4040'
|
extport: '4040'
|
||||||
image: 'airsonic/airsonic'
|
image: 'linuxserver/airsonic'
|
||||||
|
|
||||||
# CORE (MANDATORY) ############################################################
|
# CORE (MANDATORY) ############################################################
|
||||||
- name: 'Including cron job'
|
- name: 'Including cron job'
|
||||||
@@ -25,26 +25,25 @@
|
|||||||
- name: 'Adding Traefik'
|
- name: 'Adding Traefik'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_labels:
|
pg_labels:
|
||||||
|
traefik.frontend.auth.forward.address: '{{gauth}}'
|
||||||
traefik.enable: 'true'
|
traefik.enable: 'true'
|
||||||
traefik.port: '{{intport}}'
|
traefik.port: '{{intport}}'
|
||||||
traefik.frontend.auth.forward.address: '{{gauth}}'
|
|
||||||
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
|
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
|
||||||
|
|
||||||
- name: 'Setting PG Volumes'
|
- name: 'Setting PG Volumes'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_volumes:
|
pg_volumes:
|
||||||
- '/etc/localtime:/etc/localtime:ro'
|
- '/opt/appdata/{{pgrole}}/config:/config:rw'
|
||||||
- '/opt/appdata/{{pgrole}}:/airsonic/data'
|
|
||||||
- '/opt/appdata/{{pgrole}}/playlists:/airsonic/playlists'
|
|
||||||
- '/opt/appdata/{{pgrole}}/podcasts:/airsonic/podcasts'
|
|
||||||
- '{{path.stdout}}:{{path.stdout}}'
|
- '{{path.stdout}}:{{path.stdout}}'
|
||||||
- '/mnt:/mnt'
|
- '/mnt/unionfs:/media:ro'
|
||||||
|
- '/etc/localtime:/etc/localtime:ro'
|
||||||
|
|
||||||
- name: 'Setting PG ENV'
|
- name: 'Setting PG ENV'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_env:
|
pg_env:
|
||||||
PUID: '1000'
|
PUID: '1000'
|
||||||
PGID: '1000'
|
PGID: '1000'
|
||||||
|
TZ: '${TZ}'
|
||||||
|
|
||||||
# MAIN DEPLOYMENT #############################################################
|
# MAIN DEPLOYMENT #############################################################
|
||||||
- name: 'Deploying {{pgrole}}'
|
- name: 'Deploying {{pgrole}}'
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
name: '{{pgrole}}'
|
name: '{{pgrole}}'
|
||||||
image: '{{image}}'
|
image: '{{image}}'
|
||||||
pull: yes
|
pull: yes
|
||||||
published_ports:
|
published_ports: <<<<not exposed
|
||||||
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
||||||
volumes: '{{pg_volumes}}'
|
volumes: '{{pg_volumes}}'
|
||||||
env: '{{pg_env}}'
|
env: '{{pg_env}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user