-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
20 lines (15 loc) · 814 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.DEFAULT_GOAL := run-media
run-media:
@docker-compose up -d
@docker exec -u root jellyfin chown 1000 /jellyfin/jellyfin-web/index.html
@docker cp jellyfin:/jellyfin/jellyfin-web/main.jellyfin.bundle.js /datadisk/server/tmp/main.jellyfin.bundle.js
@sed -E -i 's/enableBackdrops\:function\(\)\{return L\}/enableBackdrops\:function\(\)\{return \_\}/' /datadisk/server/tmp/main.jellyfin.bundle.js
@docker cp /datadisk/server/tmp/main.jellyfin.bundle.js jellyfin:/jellyfin/jellyfin-web/main.jellyfin.bundle.js
@rm /datadisk/server/tmp/main.jellyfin.bundle.js
@docker exec -u root jellyfin cp /config/config.json /jellyfin/jellyfin-web/config.json
stop-media:
@docker-compose down -v
dns-adguardhome:
@cd adguardhome && docker-compose up -d
dns-adguardhome-stop:
@cd adguardhome && docker-compose down -v