Created
September 9, 2017 09:07
-
-
Save inkrement/4b960e3f2a974d08a1a70093b31dd168 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
caddy: | |
image: joshix/caddy | |
links: | |
- rstudio | |
volumes: | |
- ./site/:/var/www/html | |
- ./.caddy/:/.caddy | |
ports: | |
- $SMA_IP:80:80 | |
- $SMA_IP:443:443 | |
restart: unless-stopped | |
rstudio: | |
image: rocker/verse:3.4.1 | |
container_name: sma | |
environment: | |
- VIRTUAL_PORT=8787 | |
- ROOT=FALSE | |
- VIRTUAL_HOST=$DOMAIN | |
- USER=rstudio | |
- PASSWORD=rstudio | |
volumes: | |
- ./data/:/home | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment