{"id":15157899,"url":"https://github.com/suizer98/geodirectus","last_synced_at":"2026-03-14T22:01:40.950Z","repository":{"id":256145476,"uuid":"854412000","full_name":"Suizer98/GeoDirectus","owner":"Suizer98","description":"My dockerised Directus CMS application to enable easy and customisable integration with geospatial data","archived":false,"fork":false,"pushed_at":"2025-06-03T08:22:40.000Z","size":10765,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T19:31:35.297Z","etag":null,"topics":["bash","cms","directus","docker","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Suizer98.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-09T06:01:01.000Z","updated_at":"2025-06-03T08:22:41.000Z","dependencies_parsed_at":"2024-09-22T06:41:07.588Z","dependency_job_id":null,"html_url":"https://github.com/Suizer98/GeoDirectus","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.5,"last_synced_commit":"90b4fb958d9e83929b1166ede35c8cd480416854"},"previous_names":["suizer98/geodirectus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Suizer98/GeoDirectus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FGeoDirectus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FGeoDirectus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FGeoDirectus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FGeoDirectus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suizer98","download_url":"https://codeload.github.com/Suizer98/GeoDirectus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FGeoDirectus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278820536,"owners_count":26051766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cms","directus","docker","postgresql"],"created_at":"2024-09-26T20:20:26.475Z","updated_at":"2025-10-07T17:58:53.789Z","avatar_url":"https://github.com/Suizer98.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeoDirectus\r\n\r\nThis is a project exploring self-hosting a Directus CMS using Docker and PostGIS for geospatial data.\r\n\r\n![Tech Stacks](https://skillicons.dev/icons?i=docker,bash,linux,postgres)\r\n\r\n## Deploy\r\n\r\nRun the project locally:\r\n\r\n1. Clone the repo:\r\n    ```bash\r\n    git clone https://github.com/suizer98/geodirectus.git\r\n    ```\r\n\r\n2. cd to it and spin it up:\r\n    ```bash\r\n    cd geodirectus\r\n    docker-compose up\r\n    OR\r\n    podman-compose up\r\n    ```\r\n\r\nAccess the CMS at:\r\nhttp://localhost:8055/admin\r\n\r\n## Local development\r\n\r\nYou can straightaway build the self hosting Directus using the sample postgres data in this repo. However if you need to start from scratch better to remove the sample data:\r\n\r\n```bash\r\nsudo rm -rf postgres/data\r\ndocker-compose down -v\r\ndocker-compose up\r\nOR\r\npodman-compose down -v\r\npodman-compose up\r\n```\r\n\r\n## Backing up and restoring self hosting databases\r\n\r\nSince it is running in Docker instances, we can do below:\r\n```bash\r\ndocker exec -t geodirectus-postgres-1 pg_dump -U postgres postgres \u003e postgres/backup.sql\r\n```\r\n\r\nTo restore using the `backup.sql`, we can edit `postgres/backup.sql` to avoid restoration errors:\r\n```sql\r\nCREATE SCHEMA IF NOT EXISTS tiger;\r\nCREATE SCHEMA IF NOT EXISTS tiger_data;\r\nCREATE SCHEMA IF NOT EXISTS topology;\r\n```\r\nMake sure we add `IF NOT EXISTS` for these 3 lines from PostGIS image. Also the backup.sql is looking for the same user name, so you probably need to watch out with the POSTGRES_USER variable.\r\n\r\nTo sneak peek to your postgres relevant settings and data, go to the volume mounted:\r\n```bash\r\n# Not recommended, this is just testing to override permission\r\nsudo chmod -R 777 postgres/data\r\nls postgres/data\r\n```\r\n\r\n## Features\r\n- Geospatial data handling via PostGIS\r\n- Dockerised setup, allowing fully customised configuration\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Fgeodirectus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuizer98%2Fgeodirectus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Fgeodirectus/lists"}