diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-16 10:32:23 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-16 10:32:23 +0200 |
commit | 702b030a502b8f462dc10eb28b5a66f0883f8122 (patch) | |
tree | 36c7866cefa8ae90799e5cdabcca7c91f6fe6dfc | |
parent | README: add section on dongles (diff) | |
download | fr24feed-702b030a502b8f462dc10eb28b5a66f0883f8122.tar.gz fr24feed-702b030a502b8f462dc10eb28b5a66f0883f8122.zip |
factor out common settings in docker-compose.yml
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yml | 17 |
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' |