{"id":18549393,"url":"https://github.com/divadsn/docker-bluemap-nginx","last_synced_at":"2026-04-19T04:34:13.795Z","repository":{"id":181543903,"uuid":"655458954","full_name":"divadsn/docker-bluemap-nginx","owner":"divadsn","description":"Customized version of trafex/php-nginx with BlueMap webapp pre-installed.","archived":false,"fork":false,"pushed_at":"2024-06-18T05:13:41.000Z","size":15,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T07:29:33.866Z","etag":null,"topics":["bluemap","docker","minecraft","nginx","php"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/divadsn/bluemap-nginx","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divadsn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-06-19T00:17:55.000Z","updated_at":"2024-06-18T05:13:44.000Z","dependencies_parsed_at":"2023-11-20T06:26:59.352Z","dependency_job_id":"1508af60-3f83-4e93-839c-2c0af9ce6164","html_url":"https://github.com/divadsn/docker-bluemap-nginx","commit_stats":null,"previous_names":["divadsn/docker-bluemap-nginx"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divadsn%2Fdocker-bluemap-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divadsn%2Fdocker-bluemap-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divadsn%2Fdocker-bluemap-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divadsn%2Fdocker-bluemap-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divadsn","download_url":"https://codeload.github.com/divadsn/docker-bluemap-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239269808,"owners_count":19610870,"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","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":["bluemap","docker","minecraft","nginx","php"],"created_at":"2024-11-06T20:38:52.755Z","updated_at":"2026-04-19T04:34:08.774Z","avatar_url":"https://github.com/divadsn.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-bluemap-nginx\nCustomized version of trafex/php-nginx with BlueMap webapp pre-installed.\n\n[![Build and push Docker image](https://github.com/divadsn/docker-bluemap-nginx/actions/workflows/docker-build.yml/badge.svg)](https://github.com/divadsn/docker-bluemap-nginx/actions/workflows/docker-build.yml)\n\n## How to use?\nYou can deploy this image using Docker Compose. Here is an example of a [docker-compose.yml](https://github.com/divadsn/docker-bluemap-nginx/blob/master/docker-compose.yml) file:\n```yaml\nversion: \"3.8\"\nservices:\n  bluemap:\n    image: divadsn/bluemap-nginx:latest\n    restart: unless-stopped\n    ports:\n      - \"8100:80/tcp\"\n    depends_on:\n      - mariadb\n    environment:\n      MYSQL_HOST: mariadb\n      MYSQL_PORT: '3306'\n      MYSQL_USER: bluemap\n      MYSQL_PASSWORD: thisisaverysecurepassword\n      MYSQL_DATABASE: bluemap\n    volumes:\n      - ./data/settings.json:/var/www/html/settings.json\n\n  mariadb:\n    image: mariadb:10.5\n    restart: unless-stopped\n    environment:\n      MYSQL_USER: bluemap\n      MYSQL_PASSWORD: thisisaverysecurepassword\n      MYSQL_INITDB_SKIP_TZINFO: '1'\n    volumes:\n      - mysql-vol:/var/lib/mysql\n\nvolumes:\n  mysql-vol:\n```\n\nYou can also deploy this image using the following command:\n```bash\ndocker run -d \\\n  --name bluemap \\\n  -p 8100:80/tcp \\\n  -e MYSQL_HOST=mariadb \\\n  -e MYSQL_PORT=3306 \\\n  -e MYSQL_USER=bluemap \\\n  -e MYSQL_PASSWORD=thisisaverysecurepassword \\\n  -e MYSQL_DATABASE=bluemap \\\n  -v ./data/settings.json:/var/www/html/settings.json \\\n  divadsn/bluemap-nginx:latest\n```\n\nNote that in both cases, you need to create a `settings.json` file in the `./data` directory. You can also find this file in the BlueMap webroot directory.\n\n## Environment variables\n| Variable | Description | Default value |\n| --- | --- | --- |\n| `MYSQL_HOST` | Hostname of the MySQL server | `127.0.0.1` |\n| `MYSQL_PORT` | Port of the MySQL server | `3306` |\n| `MYSQL_USER` | Username of the MySQL user | `root` |\n| `MYSQL_PASSWORD` | Password of the MySQL user | `\"\"` |\n| `MYSQL_DATABASE` | Name of the MySQL database | `bluemap` |\n\n## Limitations\n- This image does not support HTTPS out of the box. You need to modify the Nginx `default.conf` in order to enable HTTPS or use a reverse proxy.\n- You need to enable `write-markers-interval` and `write-players-interval` in BlueMap in order for live data to be written to the database.\n\nYou can also modify the `default.conf` to [proxy live data requests](https://bluemap.bluecolored.de/wiki/webserver/ExternalWebserversSQL.html) to the BlueMap integrated webserver.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivadsn%2Fdocker-bluemap-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivadsn%2Fdocker-bluemap-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivadsn%2Fdocker-bluemap-nginx/lists"}