Moved docker tasks and made more dynamic

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-04-27 10:52:49 +02:00
parent 25c2aff50c
commit c193374444
8 changed files with 152 additions and 130 deletions

View File

@@ -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:

View File

@@ -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;