mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
51 lines
2.3 KiB
YAML
51 lines
2.3 KiB
YAML
services:
|
|
|
|
planefence:
|
|
image: ghcr.io/sdr-enthusiasts/docker-planefence
|
|
container_name: planefence
|
|
hostname: planefence
|
|
restart: always
|
|
# by adding a ports mapping, the planefence website is exposed to the
|
|
# host and your internal network.
|
|
ports:
|
|
- 8088:80
|
|
#
|
|
# LOGLEVEL can be "INFO" (default - all logs) or "ERROR" (only errors)
|
|
environment:
|
|
- TZ=America/New_York
|
|
- LOGLEVEL=INFO
|
|
volumes:
|
|
# adopt this one to point at a subdirectory of where your docker-compose.yml file is located:
|
|
- ./planefence/config:/usr/share/planefence/persist
|
|
# the following exposes the html directory to the host, in case you
|
|
# want to use an external http daemon (lighttpd, nginx, etc)
|
|
- ./planefence/html:/usr/share/planefence/html
|
|
tmpfs:
|
|
- /run:rw,nosuid,nodev,exec,relatime,size=512M
|
|
- /tmp:rw,nosuid,nodev,noexec,relatime,size=128M
|
|
#
|
|
# The following container enables adding screenshots to the Planefence Notifications.
|
|
# The environment variable BASE_URL should be changed to point at YOUR OWN tar1090 or skyaware instance.
|
|
# This should be the "hostname" (or "container_name" if hostname is not defined) of your tar1090 container
|
|
# defined in this stack, or a full URL ("http://....) that can be reached from the container.
|
|
#
|
|
# Note that some of the parameters that are sent to the website are specific to tar1090
|
|
# and they may not work for PiAware or SkyAware based implementation
|
|
# Although it is theoretically possible to point at adsbexchange, we want to DISCOURAGE
|
|
# people from doing this - our philosophy is to use LOCAL DATA as much as we can.
|
|
#
|
|
# With thanks to tedder42 for the original program (https://github.com/tedder/browser-screenshot-service)
|
|
#
|
|
# Last - note that this container is LARGE (~350 Mb download). If storage space is an issue
|
|
# you may decide to forego this feature. Simply delete or comment out the section below.
|
|
screenshot:
|
|
image: ghcr.io/kx1t/screenshot
|
|
container_name: screenshot
|
|
hostname: screenshot
|
|
restart: always
|
|
shm_size: 1gb
|
|
environment:
|
|
- MAP_ARGS=zoom=11&hideSidebar&hideButtons&mapDim=0.2&monochromeMarkers=ff0000&outlineColor=505050&iconScale=1.5
|
|
- LOAD_SLEEP_TIME=10
|
|
- BASE_URL=http://ultrafeeder
|