aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index fea70f2..021ba6d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,6 +1,14 @@
-version: '3'
+version: '3.4'
+
+x-default-settings:
+ &default-settings
+ logging:
+ driver: journald
+ restart: unless-stopped
+
services:
dump1090:
+ << : *default-settings
build: ./dump1090
devices:
- /dev/bus/usb
@@ -13,25 +21,20 @@ services:
- 30005
- 30104
image: egortensin/dump1090
- logging:
- driver: journald
ports:
- 8080:8080
- restart: always
volumes:
- './dump1090/config.js:/usr/share/dump1090-fa/html/config.js:ro'
- './dump1090/supervisord.conf:/etc/supervisor/conf.d/supervisord.conf:ro'
fr24feed:
+ << : *default-settings
build: ./fr24feed
depends_on:
- dump1090
expose:
- 8754
image: egortensin/fr24feed
- logging:
- driver: journald
ports:
- 8754:8754
- restart: always
volumes:
- './fr24feed/fr24feed.ini:/etc/fr24feed.ini:ro'