aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-12-19 11:11:01 +0100
committerEgor Tensin <egor@tensin.name>2024-12-19 11:11:01 +0100
commita7dcb10520af5e23abbf19821a9faf11bab3fef8 (patch)
treef8c1849d832339dadc2955ccdf2b4e0f8de536be
parentfr24feed: bump versions (diff)
downloadfr24feed-a7dcb10520af5e23abbf19821a9faf11bab3fef8.tar.gz
fr24feed-a7dcb10520af5e23abbf19821a9faf11bab3fef8.zip
normalize docker-compose.yml
Diffstat (limited to '')
-rw-r--r--docker-compose.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 021ba6d..8589192 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,14 +1,7 @@
-version: '3.4'
-
-x-default-settings:
- &default-settings
- logging:
- driver: journald
- restart: unless-stopped
+version: '3'
services:
dump1090:
- << : *default-settings
build: ./dump1090
devices:
- /dev/bus/usb
@@ -23,11 +16,11 @@ services:
image: egortensin/dump1090
ports:
- 8080:8080
+ restart: unless-stopped
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
@@ -36,5 +29,6 @@ services:
image: egortensin/fr24feed
ports:
- 8754:8754
+ restart: unless-stopped
volumes:
- './fr24feed/fr24feed.ini:/etc/fr24feed.ini:ro'