mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 05:31:59 +00:00
Update airsonic.yml
This commit is contained in:
@@ -33,10 +33,12 @@
|
|||||||
- name: 'Setting PG Volumes'
|
- name: 'Setting PG Volumes'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_volumes:
|
pg_volumes:
|
||||||
- '/opt/appdata/{{pgrole}}/config:/config:rw'
|
|
||||||
- '{{path.stdout}}:{{path.stdout}}'
|
|
||||||
- '/mnt/unionfs:/media:ro'
|
|
||||||
- '/etc/localtime:/etc/localtime:ro'
|
- '/etc/localtime:/etc/localtime:ro'
|
||||||
|
- '/opt/appdata/{{pgrole}}:/airsonic/data'
|
||||||
|
- '/opt/appdata/{{pgrole}}/playlists:/airsonic/playlists'
|
||||||
|
- '/opt/appdata/{{pgrole}}/podcasts:/airsonic/podcasts'
|
||||||
|
- '{{path.stdout}}:{{path.stdout}}'
|
||||||
|
- '/mnt:/mnt'
|
||||||
|
|
||||||
- name: 'Setting PG ENV'
|
- name: 'Setting PG ENV'
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -51,7 +53,7 @@
|
|||||||
name: '{{pgrole}}'
|
name: '{{pgrole}}'
|
||||||
image: '{{image}}'
|
image: '{{image}}'
|
||||||
pull: yes
|
pull: yes
|
||||||
published_ports: <<<<not exposed
|
published_ports:
|
||||||
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
- '{{ports.stdout}}{{extport}}:{{intport}}'
|
||||||
volumes: '{{pg_volumes}}'
|
volumes: '{{pg_volumes}}'
|
||||||
env: '{{pg_env}}'
|
env: '{{pg_env}}'
|
||||||
@@ -61,4 +63,4 @@
|
|||||||
aliases:
|
aliases:
|
||||||
- '{{pgrole}}'
|
- '{{pgrole}}'
|
||||||
state: started
|
state: started
|
||||||
labels: '{{pg_labels}}'
|
labels: '{{pg_labels}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user