-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdc-rstat.yml
More file actions
30 lines (26 loc) · 849 Bytes
/
dc-rstat.yml
File metadata and controls
30 lines (26 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '2'
services:
cre-glue:
image: tamboraorg/creglue:2020.0
container_name: glue
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./secrets:/cre/secrets
cre-r:
image: tamboraorg/crecoding:2020.0
container_name: rstat
environment:
TESSERACT_LANGUAGES: deu,frk
volumes:
- "./:/cre/R"
volumes_from:
- cre-glue
# sudo docker system prune -f
# /etc/init.d/apache2 stop
# sudo docker exec crepython pip install -r /cre/python/requirements.txt
# sudo /home/kmicha/anaconda3/bin/docker-compose --file dc-rstat.yml up -d
# sudo docker-compose --file dc-rstat.yml up -d
# sudo docker exec img /cre/scripts/all.sh
# sudo chmod 777 -R ./volumes/data
# [sudo docker exec rstat] R -e "install.packages('rmarkdown')"
# [sudo docker exec rstat] R -e "rmarkdown::render('/cre/R/README.Rmd')"