Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 472 Bytes

instructions.md

File metadata and controls

23 lines (16 loc) · 472 Bytes

Instructions

Note: This stack depends on bind mounts.

First, determine where you want to store necessary cran files (~300 GB). In my case, I made a directory on a worker node:

mkdir /mnt/wdpassport/cran-mirror

Define your environment variables:

export DOMAIN=cran.example.com
export CRAN_DATA=/mnt/wdpassport/cran-mirror
export HOSTNAME=worker-02

From the pirate/cran folder, deploy:

docker stack deploy -c cran.yml cran