update configs
This commit is contained in:
parent
17d50b0325
commit
c71b952098
13 changed files with 71 additions and 70 deletions
|
@ -10,8 +10,22 @@ services:
|
||||||
- /run/dbus:/run/dbus:ro
|
- /run/dbus:/run/dbus:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
privileged: true
|
||||||
networks:
|
|
||||||
- net
|
esphome:
|
||||||
|
container_name: esphome
|
||||||
|
image: ghcr.io/esphome/esphome
|
||||||
|
volumes:
|
||||||
|
- ./esphome/config:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: always
|
||||||
|
privileged: true
|
||||||
|
ports:
|
||||||
|
- 6052:6052
|
||||||
|
environment:
|
||||||
|
- USERNAME=fakeowl1
|
||||||
|
- PASSWORD=XGSAwP20YHForF
|
||||||
|
devices:
|
||||||
|
- /dev/ttyACM0:/dev/ttyACM0
|
||||||
|
|
||||||
mosquitto:
|
mosquitto:
|
||||||
image: eclipse-mosquitto
|
image: eclipse-mosquitto
|
||||||
|
@ -25,6 +39,3 @@ services:
|
||||||
- ./mosquitto:/etc/mosquitto
|
- ./mosquitto:/etc/mosquitto
|
||||||
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
||||||
- ./mosquitto/passwd:/etc/mosquitto/passwd
|
- ./mosquitto/passwd:/etc/mosquitto/passwd
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
external: true
|
|
||||||
|
|
5
homeassistant/esphome/config/.gitignore
vendored
Normal file
5
homeassistant/esphome/config/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Gitignore settings for ESPHome
|
||||||
|
# This is an example and may include too much for your use-case.
|
||||||
|
# You can modify this file to suit your needs.
|
||||||
|
/.esphome/
|
||||||
|
/secrets.yaml
|
16
homeassistant/esphome/config/sensor.yaml
Normal file
16
homeassistant/esphome/config/sensor.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
esphome:
|
||||||
|
name: esp32-s2-1
|
||||||
|
friendly_name: esp32-s2-1
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: lolin_s2_mini
|
||||||
|
variant: esp32s2
|
||||||
|
framework:
|
||||||
|
type: esp-idf
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: PGS44
|
||||||
|
password: 06578381
|
||||||
|
|
||||||
|
api:
|
||||||
|
logger:
|
|
@ -3,7 +3,7 @@ services:
|
||||||
image: jellyfin/jellyfin
|
image: jellyfin/jellyfin
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
ports:
|
ports:
|
||||||
- 8096
|
- 8096:8096
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
|
@ -16,27 +16,27 @@ services:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Kyiv
|
- TZ=Europe/Kyiv
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
|
|
||||||
sonarr:
|
sonarr:
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
container_name: sonarr
|
container_name: sonarr
|
||||||
|
ports:
|
||||||
|
- 8989:8989
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Kyiv
|
- TZ=Europe/Kyiv
|
||||||
volumes:
|
volumes:
|
||||||
- ./sonarr/config:/config:z
|
- ./sonarr/config:/config
|
||||||
- /media/hda1/jellyfin:/data:z #Access to the entire /media
|
- /media/hda1/jellyfin:/data
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
radarr:
|
radarr:
|
||||||
image: lscr.io/linuxserver/radarr:latest
|
image: lscr.io/linuxserver/radarr:latest
|
||||||
container_name: radarr
|
container_name: radarr
|
||||||
|
ports:
|
||||||
|
- 7878:7878
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
@ -44,13 +44,13 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./radarr/config:/config:z
|
- ./radarr/config:/config:z
|
||||||
- /media/hda1/jellyfin:/data:z #Access to the entire /media
|
- /media/hda1/jellyfin:/data:z #Access to the entire /media
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
jackett:
|
jackett:
|
||||||
image: lscr.io/linuxserver/jackett:latest
|
image: lscr.io/linuxserver/jackett:latest
|
||||||
container_name: jackett
|
container_name: jackett
|
||||||
|
ports:
|
||||||
|
- 9117:9117
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
@ -60,10 +60,4 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./blackhole:/downloads
|
- ./blackhole:/downloads
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
external: true
|
|
||||||
|
|
|
@ -1,25 +1,24 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
# Remove '#' in the next line to enable IPv6
|
# Remove '#' in the next line to enable IPv6
|
||||||
# listen [::]:443 ssl http2;
|
# listen [::]:443 ssl http2;
|
||||||
server_name hass.fakeowl1.local;
|
server_name hass.fakeowl1.com;
|
||||||
|
|
||||||
|
location /.well-known/acme-challenge/ {
|
||||||
|
root /var/www/certbot/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
return 301 https://$server_name:443$request_uri;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_pass http://192.168.1.158:8123/;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
# Remove '#' in the next line to enable IPv6
|
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
server_name hass.fakeowl1.com;
|
server_name hass.fakeowl1.com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/hass.fakeowl1.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/hass.fakeowl1.com/fullchain.pem;
|
||||||
|
@ -28,7 +27,7 @@ server {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass http://192.168.1.158:8123/;
|
proxy_pass http://192.168.1.158:8123;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
|
@ -5,7 +5,7 @@ server {
|
||||||
server_name jackett.homeserver.local;
|
server_name jackett.homeserver.local;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://jackett:9117;
|
proxy_pass http://192.168.1.158:9117;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection keep-alive;
|
proxy_set_header Connection keep-alive;
|
||||||
|
|
|
@ -67,7 +67,7 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Proxy main Jellyfin traffic
|
# Proxy main Jellyfin traffic
|
||||||
proxy_pass http://jellyfin:8096;
|
proxy_pass http://192.168.1.158:8096;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -82,7 +82,7 @@ server {
|
||||||
# location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
|
# location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
|
||||||
location = /web {
|
location = /web {
|
||||||
# Proxy main Jellyfin traffic
|
# Proxy main Jellyfin traffic
|
||||||
proxy_pass http://jellyfin:8096/web/index.html;
|
proxy_pass http://192.168.1.158:8096/web/index.html;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -93,7 +93,7 @@ server {
|
||||||
|
|
||||||
location /jellyfin/socket {
|
location /jellyfin/socket {
|
||||||
# Proxy Jellyfin Websockets traffic
|
# Proxy Jellyfin Websockets traffic
|
||||||
proxy_pass http://jellyfin:8096;
|
proxy_pass http://192.168.1.158:8096;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
@ -162,7 +162,7 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Proxy main Jellyfin traffic
|
# Proxy main Jellyfin traffic
|
||||||
proxy_pass http://jellyfin:8096;
|
proxy_pass http://192.168.1.158:8096;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -177,7 +177,7 @@ server {
|
||||||
# location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
|
# location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
|
||||||
location = /web {
|
location = /web {
|
||||||
# Proxy main Jellyfin traffic
|
# Proxy main Jellyfin traffic
|
||||||
proxy_pass http://jellyfin:8096/web/index.html;
|
proxy_pass http://192.168.1.158:8096/web/index.html;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -188,7 +188,7 @@ server {
|
||||||
|
|
||||||
location /jellyfin/socket {
|
location /jellyfin/socket {
|
||||||
# Proxy Jellyfin Websockets traffic
|
# Proxy Jellyfin Websockets traffic
|
||||||
proxy_pass http://jellyfin:8096;
|
proxy_pass http://192.168.1.158:8096;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
|
@ -1,14 +1,3 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
listen [::]:80;
|
|
||||||
server_name nextcloud.homeserver.local;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
return 301 http://$server_name:443$request_uri;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
@ -125,7 +114,7 @@ server {
|
||||||
#Avoid sending the security headers twice
|
#Avoid sending the security headers twice
|
||||||
fastcgi_param modHeadersAvailable true;
|
fastcgi_param modHeadersAvailable true;
|
||||||
fastcgi_param front_controller_active true;
|
fastcgi_param front_controller_active true;
|
||||||
fastcgi_pass nextcloud:9000;
|
fastcgi_pass 192.168.1.158:9000;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_request_buffering off;
|
fastcgi_request_buffering off;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@ server {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
proxy_pass http://radarr:7878;
|
proxy_pass http://192.168.1.158:7878;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@ server {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
proxy_pass http://sonarr:8989;
|
proxy_pass http://192.168.1.158:8989;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ server {
|
||||||
server_name torrent.homeserver.local;
|
server_name torrent.homeserver.local;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://transmission:9091;
|
proxy_pass http://192.168.1.158:9091;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
# headers recognized by qBittorrent
|
# headers recognized by qBittorrent
|
||||||
|
|
|
@ -14,9 +14,3 @@ services:
|
||||||
- ../nextcloud/nextcloud:/var/www/html:ro
|
- ../nextcloud/nextcloud:/var/www/html:ro
|
||||||
- ../myschoolproj:/var/www/myschoolproj
|
- ../myschoolproj:/var/www/myschoolproj
|
||||||
build: .
|
build: .
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
|
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
external: true
|
|
||||||
|
|
|
@ -2,22 +2,15 @@ services:
|
||||||
transmission:
|
transmission:
|
||||||
image: lscr.io/linuxserver/transmission:latest
|
image: lscr.io/linuxserver/transmission:latest
|
||||||
container_name: transmission
|
container_name: transmission
|
||||||
|
ports:
|
||||||
|
- 9091:9091
|
||||||
|
- 51413:51413
|
||||||
|
- 51413:51413/udp
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/config
|
- ./data:/config
|
||||||
- /media/hda1/Torrents:/downloads
|
- /media/hda1/jellyfin:/downloads:rw
|
||||||
- /media/hda1/jellyfin:/downloads/jellyfin:rw
|
|
||||||
#ports:
|
|
||||||
# - 9091:9091
|
|
||||||
# - 51413:51413
|
|
||||||
# - 51413:51413/udp
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
external: true
|
|
||||||
|
|
Loading…
Reference in a new issue