Custom Container Volumes - Same host folder, multiple container volumes | PlexGuide.com

Custom Container Volumes - Same host folder, multiple container volumes

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

andrewc248

Noobz
Original poster
Nov 9, 2018
2
0
I've got a custom Nginx RTMP container that needs a few things pointed to the same folder on the host but needs to access the same files in a few different places.

The first three are all the places where it needs to access the Nginx config items, and there are two different places it needs the HLS data. I've seen on a few occasions when PG runs the setup it will only create one of the two HLS volumes, and then leaves /opt/data pointed to a container volume rather than bound.

I only added two additional nginx lines today due to a chance in the image providers code, and I'm assume they'll fail to bind on next rebuild.

Is this a limitation, or am I doing something wrong?

Host/volumePath in container
/home/user/nginx/usr/local/nginx
/home/user/nginx/etc/nginx
/home/user/nginx/opt/nginx
/home/user/HLS/opt/data
/home/user/HLS/HLS
/home/user/video_recordings/videorecordings
/home/user/letsencrypt/etc/letsencrypt/le-ssl
/home/user/www/www

- name: 'Setting PG Volumes'
set_fact:
pg_volumes:
- '/home/user/nginx/:/opt/nginx/'
- '/home/user/nginx/:/etc/nginx/'
- '/home/user/nginx/:/usr/local/nginx/'
- '/home/user/HLS/:/opt/data'
- '/home/user/HLS/:/HLS'
- '/home/user/video_recordings/:/videorecordings'
- '/home/user/www/:/www'
- '/home/user/letsencrypt/etc/letsencrypt:/le-ssl'
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending