Skip to content

Instantly share code, notes, and snippets.

@inkrement
Created September 9, 2017 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inkrement/4b960e3f2a974d08a1a70093b31dd168 to your computer and use it in GitHub Desktop.
Save inkrement/4b960e3f2a974d08a1a70093b31dd168 to your computer and use it in GitHub Desktop.
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