Install DockerMan template and PNG icon
This commit is contained in:
+21
-2
@@ -16,10 +16,11 @@ The browser entrypoint is:
|
||||
http://<unraid-ip>:${GEOINTEL_FRONTEND_PORT}
|
||||
```
|
||||
|
||||
The app icon is served from the same container:
|
||||
The app icons are served from the same container:
|
||||
|
||||
```text
|
||||
http://<unraid-ip>:${GEOINTEL_FRONTEND_PORT}/geointel-icon.svg
|
||||
http://<unraid-ip>:${GEOINTEL_FRONTEND_PORT}/geointel-icon.png
|
||||
```
|
||||
|
||||
## Files
|
||||
@@ -30,7 +31,24 @@ http://<unraid-ip>:${GEOINTEL_FRONTEND_PORT}/geointel-icon.svg
|
||||
- `deploy/unraid/nginx-all-in-one.conf`: frontend and API proxy config for one container.
|
||||
- `deploy/unraid/geointel.env.example`: copy to `.env` and edit ports/paths.
|
||||
- `deploy/unraid/geointel-unraid-template.xml`: Unraid/DockerMan metadata for editable fields.
|
||||
- `deploy/unraid/geointel-icon.svg`: icon source.
|
||||
- `deploy/unraid/geointel-icon.svg`: frontend favicon source.
|
||||
- `deploy/unraid/geointel-icon.png`: DockerMan/Unraid icon source.
|
||||
- `frontend/public/geointel-icon.svg`: frontend-served SVG icon.
|
||||
- `frontend/public/geointel-icon.png`: frontend-served PNG icon.
|
||||
|
||||
The Tower deploy scripts also copy the editable DockerMan template to:
|
||||
|
||||
```text
|
||||
/boot/config/plugins/dockerMan/templates-user/my-geointel.xml
|
||||
```
|
||||
|
||||
and copy the PNG icon to:
|
||||
|
||||
```text
|
||||
/boot/config/plugins/dockerMan/images/geointel-icon.png
|
||||
```
|
||||
|
||||
The template name is `geointel` so it matches the running all-in-one container name. If the Unraid Docker page was already open, refresh it after deploy so DockerMan reloads the template/icon metadata.
|
||||
|
||||
## First setup with Compose Manager
|
||||
|
||||
@@ -52,6 +70,7 @@ Validate:
|
||||
curl -fsS "http://192.168.10.150:${GEOINTEL_FRONTEND_PORT:-1202}/health"
|
||||
curl -fsS "http://192.168.10.150:${GEOINTEL_FRONTEND_PORT:-1202}/api/v1/projects"
|
||||
curl -I "http://192.168.10.150:${GEOINTEL_FRONTEND_PORT:-1202}/geointel-icon.svg"
|
||||
curl -I "http://192.168.10.150:${GEOINTEL_FRONTEND_PORT:-1202}/geointel-icon.png"
|
||||
```
|
||||
|
||||
## Change the browser port
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Container version="2">
|
||||
<Name>GeoIntel Kempen</Name>
|
||||
<Name>geointel</Name>
|
||||
<Repository>geointel-all-in-one:latest</Repository>
|
||||
<Registry>gitea-widefrog:NuklearRabbit/geointel.git</Registry>
|
||||
<Network>bridge</Network>
|
||||
@@ -12,7 +12,7 @@
|
||||
<Category>Productivity: Tools: GIS:</Category>
|
||||
<WebUI>http://[IP]:[PORT:80]/</WebUI>
|
||||
<TemplateURL>deploy/unraid/geointel-unraid-template.xml</TemplateURL>
|
||||
<Icon>http://[IP]:[PORT:80]/geointel-icon.svg</Icon>
|
||||
<Icon>http://192.168.10.150:1202/geointel-icon.png</Icon>
|
||||
<ExtraParams/>
|
||||
<PostArgs/>
|
||||
<CPUset/>
|
||||
|
||||
@@ -15,6 +15,11 @@ server {
|
||||
try_files /geointel-icon.svg =404;
|
||||
}
|
||||
|
||||
location = /geointel-icon.png {
|
||||
add_header Cache-Control "public, max-age=3600";
|
||||
try_files /geointel-icon.png =404;
|
||||
}
|
||||
|
||||
location /assets/ {
|
||||
add_header Cache-Control "no-cache";
|
||||
try_files $uri =404;
|
||||
|
||||
Reference in New Issue
Block a user