Merge pull request 'tg-rss-bot. Adding host-gateway host to the container for database access.' (#60) from feature_tg-rss-bot into master

Reviewed-on: #60
This commit is contained in:
Alexey Skobkin 2022-08-22 00:49:40 +03:00
commit 17eb6f99fa

View file

@ -6,6 +6,8 @@ services:
image: 'miroslavsckaya/tg-rss-bot:${IMAGE_VERSION:-latest}' image: 'miroslavsckaya/tg-rss-bot:${IMAGE_VERSION:-latest}'
env_file: .env env_file: .env
restart: unless-stopped restart: unless-stopped
extra_hosts:
- 'host.docker.internal:host-gateway'
labels: labels:
ofelia.enabled: "true" ofelia.enabled: "true"
ofelia.job-exec.update-feeds.schedule: "@every ${SCHEDULER_UPDATE:-1h}" ofelia.job-exec.update-feeds.schedule: "@every ${SCHEDULER_UPDATE:-1h}"