Add cron/README.md
This commit is contained in:
19
cron/README.md
Normal file
19
cron/README.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
compose.yml
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
cron:
|
||||||
|
build:
|
||||||
|
dockerfile_inline: |
|
||||||
|
FROM alpine
|
||||||
|
RUN apk add --no-cache openssh
|
||||||
|
volumes: [$HOME/.ssh:/root/.ssh]
|
||||||
|
network_mode: host
|
||||||
|
entrypoint: ssh $USER@localhost
|
||||||
|
stop_grace_period: 0s
|
||||||
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- |
|
||||||
|
cd /Users/w/dock/public/radiology.yauk.tv
|
||||||
|
/Users/w/.venv/bin/python main.py
|
||||||
|
tail -f /dev/null
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user