adding homarr

This commit is contained in:
Braden Jageman 2024-04-17 10:34:39 -04:00
parent d7bf056487
commit b1cc065cda
4 changed files with 302 additions and 15 deletions

View File

@ -2,4 +2,5 @@ PLEX_CLAIM=
DOMAIN=example.com
UID=1000
GID=1000
TZ=Etc/UTC
TZ=Etc/UTC
DATA_LOCATION=./data

274
configs/homarr/default.json Normal file
View File

@ -0,0 +1,274 @@
{
"schemaVersion": 2,
"configProperties": {
"name": "default"
},
"categories": [],
"wrappers": [
{
"id": "default",
"position": 0
}
],
"apps": [
{
"id": "5df743d9-5cb1-457c-85d2-64ff86855652",
"name": "Documentation",
"url": "https://homarr.dev",
"behaviour": {
"onClickUrl": "https://homarr.dev",
"externalUrl": "https://homarr.dev",
"isOpeningNewTab": true
},
"network": {
"enabledStatusChecker": false,
"statusCodes": [
"200"
]
},
"appearance": {
"iconUrl": "/imgs/logo/logo.png",
"appNameStatus": "normal",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"integration": {
"type": null,
"properties": []
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"md": {
"location": {
"x": 5,
"y": 1
},
"size": {
"width": 1,
"height": 1
}
},
"sm": {
"location": {
"x": 0,
"y": 1
},
"size": {
"width": 1,
"height": 2
}
},
"lg": {
"location": {
"x": 6,
"y": 1
},
"size": {
"width": 2,
"height": 2
}
}
}
}
],
"widgets": [
{
"id": "f252768d-9e69-491b-b6b4-8cad04fa30e8",
"type": "date",
"properties": {
"display24HourFormat": true,
"dateFormat": "hide",
"enableTimezone": true,
"timezoneLocation": {
"name": "Tokyo",
"latitude": 35.6895,
"longitude": 139.69171
},
"titleState": "city"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"sm": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 3,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"lg": {
"location": {
"x": 8,
"y": 1
},
"size": {
"width": 2,
"height": 1
}
}
}
},
{
"id": "86b1921f-efa7-410f-92dd-79553bf3264d",
"type": "notebook",
"properties": {
"showToolbar": true,
"content": "<h2><strong>Welcome to Homarr 🚀👋</strong></h2><p>We're glad that you're here! Homarr is a <em>modern </em>and <em>easy to use</em> dashboard that helps you to <strong>organize and manage</strong> your home network from one place. Control is <strong>at your fingertips</strong>.</p><p>We recommend you to read the <a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://homarr.dev/docs/getting-started/after-the-installation\">getting started guide</a> first. To edit this board you must enter the edit mode - only administrators can do this. Adding an app is the first step you should take. You can do this by clicking the <code>Add tile</code> button at the top right and select <code>App</code>. After you provided an internal URL, external URL and selected an icon you can drag it around when holding down the left mouse button. Make it bigger or smaller using the drag icon at the bottom right. When you're happy with it's position, you <strong>must exit edit mode to save your board</strong>. Adding widgets works the same way but may require additional configuration - read the documentation for more information.</p><p>To remove this widget, you must log in to your administrator account and click on the menu to delete it.</p><p><strong><u>Your TODO list:</u></strong></p><ul data-type=\"taskList\"><li data-checked=\"false\" data-type=\"taskItem\"><label><input type=\"checkbox\"><span></span></label><div><p>Read the <a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://homarr.dev\">documentation</a></p></div></li><li data-checked=\"false\" data-type=\"taskItem\"><label><input type=\"checkbox\"><span></span></label><div><p>Add your <em>first app</em></p></div></li><li data-checked=\"false\" data-type=\"taskItem\"><label><input type=\"checkbox\"><span></span></label><div><p><em>Resize </em>and <em>drag</em> your app to a different position</p></div></li><li data-checked=\"false\" data-type=\"taskItem\"><label><input type=\"checkbox\"><span></span></label><div><p>Add the <em>clock widget</em> to your dashboard</p></div></li><li data-checked=\"false\" data-type=\"taskItem\"><label><input type=\"checkbox\"><span></span></label><div><p>Create a <em>new user</em></p></div></li></ul>"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"sm": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 3,
"height": 2
}
},
"md": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 3,
"height": 4
}
},
"lg": {
"location": {
"x": 0,
"y": 1
},
"size": {
"width": 6,
"height": 3
}
}
}
},
{
"id": "e3004052-6b83-480e-b458-56e8ccdca5f0",
"type": "weather",
"properties": {
"displayInFahrenheit": true,
"location": {
"name": "Philadelphia",
"latitude": 39.95233,
"longitude": -75.16379
},
"displayCityName": true,
"displayWeekly": true,
"forecastDays": 5
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"md": {
"location": {
"x": 5,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"sm": {
"location": {
"x": 2,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"lg": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 3,
"height": 1
}
}
}
}
],
"settings": {
"common": {
"searchEngine": {
"type": "google",
"properties": {}
}
},
"customization": {
"layout": {
"enabledLeftSidebar": false,
"enabledRightSidebar": false,
"enabledDocker": false,
"enabledPing": false,
"enabledSearchbar": true
},
"pageTitle": "Brodin's Dash",
"logoImageUrl": "/imgs/logo/logo.png",
"faviconUrl": "/imgs/favicon/favicon-squared.png",
"backgroundImageUrl": "",
"customCss": "",
"colors": {
"primary": "red",
"secondary": "yellow",
"shade": 7
},
"appOpacity": 100,
"gridstack": {
"columnCountSmall": 3,
"columnCountMedium": 6,
"columnCountLarge": 10
},
"backgroundImageAttachment": "fixed",
"backgroundImageRepeat": "no-repeat",
"backgroundImageSize": "cover",
"metaTitle": ""
},
"access": {
"allowGuests": false
}
}
}

BIN
data/homarr/db.sqlite Normal file

Binary file not shown.

View File

@ -21,13 +21,26 @@ services:
- PLEX_CLAIM=${PLEX_CLAIM}
volumes:
- ./config/plex:/config
- /media/storage/TV:/tv
- /media/storage/Movies:/movies
- ${DATA_LOCATION}/TV:/tv
- ${DATA_LOCATION}/Movies:/movies
expose:
- "32400"
ports:
- 32400:32400
restart: unless-stopped
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./configs/homarr:/app/data/configs
- ${DATA_LOCATION}/homarr/icons:/app/public/icons
- ${DATA_LOCATION}/homarr:/data
- VIRTUAL_HOST=homarr.${DOMAIN}
- VIRTUAL_PORT=7575
ports:
- '7575:7575'
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
@ -38,7 +51,7 @@ services:
- VIRTUAL_HOST=radarr.${DOMAIN},radar.${DOMAIN}
volumes:
- ./config/radarr:/config
- /media/storage/Movies:/movies
- ${DATA_LOCATION}/Movies:/movies
- /media/seedbox:/downloads
expose:
- "7878"
@ -55,7 +68,7 @@ services:
- VIRTUAL_HOST=sonarr.${DOMAIN},sonar.${DOMAIN}
volumes:
- ./config/sonarr:/config
- /media/storage/TV:/tv
- ${DATA_LOCATION}/TV:/tv
- /media/seedbox:/downloads
expose:
- "8989"
@ -102,7 +115,7 @@ services:
- VIRTUAL_HOST=lidarr.${DOMAIN},lidar.${DOMAIN}
volumes:
- ./config/lidarr:/config
- /media/storage/Music:/music
- ${DATA_LOCATION}/Music:/music
- /media/seedbox:/downloads
expose:
- "8686"
@ -120,7 +133,7 @@ services:
- VIRTUAL_HOST=mylar.${DOMAIN},mylar3.${DOMAIN}
volumes:
- ./config/mylar3:/config
- /media/storage/Comics:/comics
- ${DATA_LOCATION}/Comics:/comics
- /media/seedbox:/downloads
ports:
- 8090:8090
@ -136,8 +149,8 @@ services:
# - MAXMEM= #optional
volumes:
- ./config/ubooquity:/config
- /media/storage/Books:/books
- /media/storage/Comics:/comics
- ${DATA_LOCATION}/Books:/books
- ${DATA_LOCATION}/Comics:/comics
# - /path/to/raw/files:/files
expose:
- "2202"
@ -152,9 +165,9 @@ services:
- 13378:80
volumes:
- ./config/audiobookshelf:/config
- /media/storage/Audiobooks:/audiobooks
- ${DATA_LOCATION}/Audiobooks:/audiobooks
# - </path/to/podcasts>:/podcasts
- /media/storage/Audiobooks/metadata:/metadata
- ${DATA_LOCATION}/Audiobooks/metadata:/metadata
environment:
- TZ=America/Toronto
- VIRTUAL_HOST=audiobookshelf.${DOMAIN}
@ -168,7 +181,7 @@ services:
- VIRTUAL_HOST=readarr.${DOMAIN},readar.${DOMAIN}
volumes:
- ./config/readarr:/config
- /media/storage/Books:/books
- ${DATA_LOCATION}/Books:/books
- /media/seedbox:/downloads
expose:
- "8787"
@ -186,7 +199,7 @@ services:
- VIRTUAL_PORT=8787
volumes:
- ./config/readarr-audio:/config
- /media/storage/Audiobooks:/audiobooks
- ${DATA_LOCATION}/Audiobooks:/audiobooks
- /media/seedbox:/downloads
expose:
- "8788"
@ -254,11 +267,10 @@ services:
- VIRTUAL_HOST=nextcloud.${DOMAIN}
volumes:
- ./config/nextcloud:/config
- ./nextcloud:/data
- ${DATA_LOCATION}/nextcloud:/data
ports:
- 443:443
restart: unless-stopped
volumes:
wordpress-home:
db-home: