forked from rocker-org/shiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (28 loc) · 960 Bytes
/
docker-compose.yml
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
30
version: "3.0"
services:
shiny:
container_name: shiny
# To build the image locally, comment out "image" below, and uncomment
# "build" and the lines indented under it.
# image: rocker/shiny
build:
context: .
dockerfile: Dockerfile
restart: always
# Setting this to something other than 'root' will cause shiny apps not to
# run on the localhost:80 "Welcome to Shiny" diagnostics page mentioned
# below.
user: 'root'
# Uncomment the lines below to disable application logs STDOUT output
# environment:
# - APPLICATION_LOGS_TO_STDOUT=false
ports:
- '80:3838'
volumes:
- 'shiny_logs:/var/log/shiny-server'
# Comment the line below out for initial testing. With it commented out,
# going to localhost:80 in one's web browser will show a "Welcome to
# Shiny Server!" diagnostics page.
# - './mountpoints/apps:/srv/shiny-server'
volumes:
shiny_logs: