mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Adding Dockerfile and docker-compose.yml to integrate it with docker
This commit is contained in:
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM python:2-onbuild
|
||||||
|
MAINTAINER Mitsuo Takaki <mitsuotakaki@gmail.com>
|
||||||
|
|
||||||
|
VOLUME /usr/src/app/
|
||||||
|
|
||||||
|
ENTRYPOINT ["python", "cachet_url_monitor/scheduler.py", "config.yml"]
|
||||||
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
monitor:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- .:/usr/src/app/
|
||||||
Reference in New Issue
Block a user