Moved docker tasks and made more dynamic
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
swag:
|
||||
image: lscr.io/linuxserver/swag:latest
|
||||
container_name: swag
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
net: {}
|
||||
dns:
|
||||
@@ -30,7 +31,6 @@ services:
|
||||
ports:
|
||||
- "{{ swag_port }}:443"
|
||||
- 80:80 #optional
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
net:
|
||||
|
||||
@@ -12,7 +12,8 @@ server {
|
||||
|
||||
location / {
|
||||
include /config/nginx/resolver.conf;
|
||||
proxy_pass http://{{ aya01_ip | replace('.', '-') }}.{{ vault_plex_server_id }}.plex.direct:{{ plex_port }}/;
|
||||
proxy_pass http://{{ plex_host }}.{{ aya01_host }}.{{ local_domain }};
|
||||
|
||||
|
||||
proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
|
||||
proxy_set_header X-Plex-Device $http_x_plex_device;
|
||||
|
||||
Reference in New Issue
Block a user