Add Docker compose file for news data updater

This commit is contained in:
moshferatu 2024-01-09 13:00:44 -08:00
parent c883f27e0c
commit 3ba247dedc

21
update-news-data.yaml Normal file
View File

@ -0,0 +1,21 @@
version: "3"
services:
update_news_data:
image: <gitea url>/moshferatu/update-news-data:latest
container_name: update-news-data
networks:
update-news-data:
ipv4_address: <static ip>
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: <subnet>