2022-01-01 18:23:32 +00:00
|
|
|
version: "2.3"
|
|
|
|
services:
|
|
|
|
renovate:
|
|
|
|
image: renovate/renovate:31-slim
|
|
|
|
command: /entrypoint.sh
|
2022-01-01 22:58:03 +00:00
|
|
|
user: "{{ docker_user.id }}"
|
2022-01-01 18:23:32 +00:00
|
|
|
environment:
|
|
|
|
- TZ={{ TZ }}
|
|
|
|
- GITHUB_COM_TOKEN={{ renovate_github_token }}
|
2022-01-01 22:58:03 +00:00
|
|
|
- DOCKER_HOST=tcp://docker_proxy:2375
|
|
|
|
- LOG_LEVEL=debug # Noisy, but required for debugging
|
2022-01-01 18:23:32 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2022-01-01 22:58:03 +00:00
|
|
|
- docker_proxy
|
2022-01-01 18:23:32 +00:00
|
|
|
volumes:
|
2022-01-01 22:58:03 +00:00
|
|
|
- ./config.js:/usr/src/app/config.js:ro
|
|
|
|
- ./entrypoint.sh:/entrypoint.sh:ro
|
|
|
|
- /opt/renovate/renovate:/opt/renovate/renovate # These must be the same
|
2022-01-01 18:23:32 +00:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:6-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2022-01-01 22:58:03 +00:00
|
|
|
- ./redis:/data
|
|
|
|
|
|
|
|
docker_proxy:
|
|
|
|
image: tecnativa/docker-socket-proxy:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POST=1
|
|
|
|
- CONTAINERS=1
|
|
|
|
- INFO=1
|
|
|
|
- IMAGES=1
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|