Add Docker compose file for news data updater
This commit is contained in:
parent
c883f27e0c
commit
3ba247dedc
21
update-news-data.yaml
Normal file
21
update-news-data.yaml
Normal 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>
|
Loading…
Reference in New Issue
Block a user