https://github.com/epwalsh/docker-shiny
:whale: A Docker image for an R Shiny server with username + password authentication :closed_lock_with_key:
https://github.com/epwalsh/docker-shiny
docker r r-shiny shiny shiny-server
Last synced: 3 months ago
JSON representation
:whale: A Docker image for an R Shiny server with username + password authentication :closed_lock_with_key:
- Host: GitHub
- URL: https://github.com/epwalsh/docker-shiny
- Owner: epwalsh
- License: mit
- Created: 2018-05-17T15:23:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T15:48:09.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T04:58:23.123Z (4 months ago)
- Topics: docker, r, r-shiny, shiny, shiny-server
- Language: HTML
- Homepage: https://hub.docker.com/r/epwalsh/docker-shiny/
- Size: 185 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - epwalsh/docker-shiny - :whale: A Docker image for an R Shiny server with username + password authentication :closed_lock_with_key: (HTML)
README
# docker-shiny
A simple R Shiny server deployed through Docker with username + password authentication
:closed_lock_with_key:
:raised_hands: :raised_hands: :clap: :clap: :clap: :clap:
## Requirements
:whale: Docker and Git :octocat:
## Quick start
**1. Pull or build the docker image.**
You can pull and run the image directly:
```
docker pull epwalsh/docker-shiny
```Or build from scratch: :muscle:
```
git clone https://github.com/epwalsh/docker-shiny.git && cd docker-shiny
docker build -t epwalsh/shiny-server .
```**2. Run the docker image locally.**
```
docker run --rm --env-file=access.txt -p 80:80 epwalsh/shiny-server
```> NOTE: If you pulled the image directly and didn't clone the repository,
you'll need to create the `access.txt` file which just has two lines:```
HT_USER=shiny
HT_PSWD=password
```**3. Test it out!**
Open your web browser and go to local host. You should see
a prompt asking for a username and password.
The username and password are defined in the `access.txt` file and by default
are `shiny` and `password`, respectively. Once you enter those you'll see the
home page of your shiny new Shiny server
:ok_hand: :ok_hand: :ok_hand: :ok_hand: :+1: :+1: :+1: