From 3ba247dedc53587bfd62447926d3abaa8a981bc9 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 9 Jan 2024 13:00:44 -0800 Subject: [PATCH] Add Docker compose file for news data updater --- update-news-data.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 update-news-data.yaml diff --git a/update-news-data.yaml b/update-news-data.yaml new file mode 100644 index 0000000..17f065d --- /dev/null +++ b/update-news-data.yaml @@ -0,0 +1,21 @@ +version: "3" +services: + update_news_data: + image: /moshferatu/update-news-data:latest + container_name: update-news-data + networks: + update-news-data: + ipv4_address: + environment: + - DATABASE_HOST= + - DATABASE_PORT= + - DATABASE_NAME= + - DATABASE_USER= + - DATABASE_PASSWORD= + restart: unless-stopped +networks: + update-news-data: + name: update-news-data + ipam: + config: + - subnet: \ No newline at end of file