Deploy GeoIntel as DockerMan native container
This commit is contained in:
+12
-6
@@ -1,6 +1,6 @@
|
||||
# GeoIntel Unraid all-in-one container
|
||||
|
||||
GeoIntel can run on Unraid as one Docker container.
|
||||
GeoIntel can run on Unraid as one DockerMan-native container.
|
||||
|
||||
Inside that single container:
|
||||
|
||||
@@ -25,9 +25,10 @@ http://<unraid-ip>:${GEOINTEL_FRONTEND_PORT}/geointel-icon.png
|
||||
|
||||
## Files
|
||||
|
||||
- `docker-compose.unraid.yml`: recommended single-container Compose stack.
|
||||
- `docker-compose.unraid.yml`: build definition for the all-in-one image.
|
||||
- `deploy/unraid/Dockerfile.all-in-one`: builds the single container.
|
||||
- `deploy/unraid/all-in-one-start.sh`: starts embedded PostGIS, backend and nginx.
|
||||
- `deploy/unraid/run-dockerman-container.sh`: starts/replaces the running container with DockerMan labels and editable Unraid metadata.
|
||||
- `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.
|
||||
@@ -60,7 +61,7 @@ net.unraid.docker.icon=/boot/config/plugins/dockerMan/images/geointel-icon.png
|
||||
|
||||
These labels are required because a plain Compose container can run correctly while still missing the normal Unraid edit/icon controls.
|
||||
|
||||
## First setup with Compose Manager
|
||||
## First setup from the repo
|
||||
|
||||
From the Unraid shell:
|
||||
|
||||
@@ -71,9 +72,12 @@ cd /mnt/user/appdata/geointel
|
||||
cp deploy/unraid/geointel.env.example .env
|
||||
nano .env
|
||||
docker compose -f docker-compose.unraid.yml config
|
||||
docker compose -f docker-compose.unraid.yml up -d --build
|
||||
docker compose -f docker-compose.unraid.yml build geointel
|
||||
bash deploy/unraid/run-dockerman-container.sh
|
||||
```
|
||||
|
||||
The repository deploy scripts run the same flow automatically. They build the image, install the DockerMan template/icon, remove any old Compose-owned `geointel` container, preserve/migrate the PostGIS data path and start the final container with DockerMan labels.
|
||||
|
||||
Validate:
|
||||
|
||||
```bash
|
||||
@@ -95,7 +99,8 @@ GEOINTEL_CORS_ORIGINS=http://localhost:1203,http://127.0.0.1:1203,http://192.168
|
||||
Apply:
|
||||
|
||||
```bash
|
||||
docker compose -f docker-compose.unraid.yml up -d --build
|
||||
docker compose -f docker-compose.unraid.yml build geointel
|
||||
bash deploy/unraid/run-dockerman-container.sh
|
||||
```
|
||||
|
||||
## Persistent paths
|
||||
@@ -117,7 +122,8 @@ GEOINTEL_POSTGIS_DATA_PATH=/mnt/user/appdata/geointel/postgres-data
|
||||
cd /mnt/user/appdata/geointel
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
docker compose -f docker-compose.unraid.yml up -d --build
|
||||
docker compose -f docker-compose.unraid.yml build geointel
|
||||
bash deploy/unraid/run-dockerman-container.sh
|
||||
```
|
||||
|
||||
## Safe cleanup
|
||||
|
||||
Reference in New Issue
Block a user