Customized version of trafex/php-nginx with BlueMap webapp pre-installed.
1.6K
Customized version of trafex/php-nginx with BlueMap webapp pre-installed.
You can deploy this image using Docker Compose. Here is an example of a docker-compose.yml file:
version: "3.8"
services:
bluemap:
image: divadsn/bluemap-nginx:latest
restart: unless-stopped
ports:
- "8100:80/tcp"
depends_on:
- mariadb
environment:
MYSQL_HOST: mariadb
MYSQL_PORT: '3306'
MYSQL_USER: bluemap
MYSQL_PASSWORD: thisisaverysecurepassword
MYSQL_DATABASE: bluemap
volumes:
- ./data/settings.json:/var/www/html/settings.json
mariadb:
image: mariadb:10.5
restart: unless-stopped
environment:
MYSQL_USER: bluemap
MYSQL_PASSWORD: thisisaverysecurepassword
MYSQL_INITDB_SKIP_TZINFO: '1'
volumes:
- mysql-vol:/var/lib/mysql
volumes:
mysql-vol:
You can also deploy this image using the following command:
docker run -d \
--name bluemap \
-p 8100:80/tcp \
-e MYSQL_HOST=mariadb \
-e MYSQL_PORT=3306 \
-e MYSQL_USER=bluemap \
-e MYSQL_PASSWORD=thisisaverysecurepassword \
-e MYSQL_DATABASE=bluemap \
-v ./data/settings.json:/var/www/html/settings.json \
divadsn/bluemap-nginx:latest
Note 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.
| Variable | Description | Default value |
|---|---|---|
MYSQL_HOST | Hostname of the MySQL server | 127.0.0.1 |
MYSQL_PORT | Port of the MySQL server | 3306 |
MYSQL_USER | Username of the MySQL user | root |
MYSQL_PASSWORD | Password of the MySQL user | "" |
MYSQL_DATABASE | Name of the MySQL database | bluemap |
default.conf in order to enable HTTPS or use a reverse proxy.write-markers-interval and write-players-interval in BlueMap in order for live data to be written to the database.You can also modify the default.conf to proxy live data requests to the BlueMap integrated webserver.
Content type
Image
Digest
sha256:14fa224bc…
Size
41.4 MB
Last updated
over 2 years ago
docker pull divadsn/bluemap-nginx