-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
52 lines (51 loc) · 2.28 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
services:
planefence:
image: ghcr.io/sdr-enthusiasts/docker-planefence
tty: true
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
tty: true
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