Create docker-compose.yml

This commit is contained in:
Luckydonald 2017-01-09 16:32:46 +01:00 committed by GitHub
parent 4e75d39a67
commit 2ac8c753bb
1 changed files with 9 additions and 0 deletions

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
version: '2'
services:
tg-dl:
build:
context: .
restart: "unless-stopped"
volumes:
- /data/telegram-downloader:/data # host server path : docker container path
command: ["java", "-jar", "telegram_backup.jar", "--target", "/data/"]