From a7dcb10520af5e23abbf19821a9faf11bab3fef8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 19 Dec 2024 11:11:01 +0100 Subject: normalize docker-compose.yml --- docker-compose.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'docker-compose.yml') 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' -- cgit v1.2.3