-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
66 lines (59 loc) · 1.74 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
nginx:
image: mapic/shiny-nginx:latest
env_file: config/nginx.env
restart: unless-stopped
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./config/nginx.certbot.conf:/etc/nginx/nginx.certbot.conf
- ./ssl/:/home/ssl/
ports:
- "80:80"
- "443:443"
logging:
options:
max-size: "5k"
max-file: "10"
command: "bash docker-entrypoint.sh"
auth0:
image: mapic/auth0-express:latest # closed, authenticated
# image: mapic/auth0-express:open # open, no authentication
env_file: config/auth0.env
restart: unless-stopped
volumes:
- shiny-logs:/usr/src/logs
- ./config/auth0.env:/home/app/.env
- ../auth0-express/app/:/home/app # closed, authenticated
# - ../auth0-express/open-app/:/home/app # open, no authentication
command: "npm start"
environment:
DEBUG: "true"
shiny:
image: mapic/shiny-server:latest
env_file: config/shiny.env
restart: unless-stopped
logging:
options:
max-size: "20k"
max-file: "10"
volumes:
- ./config/shiny-server.conf:/etc/shiny-server/shiny-server.conf
- shiny-logs:/var/log/shiny-server/
- shiny-data:/srv/shiny-server/apps # shiny data volume shared with sftp folder
sftp:
image: mapic/sftp:latest
restart: unless-stopped
volumes:
- shiny-data:/home/shiny/upload # shiny data volume shared with shiny
- shiny-logs:/home/shiny/upload/logs
- ./config/sftp.users.conf:/etc/sftp/users.conf:ro
ports:
- "2222:22"
networks:
default:
external:
name: shiny-network
volumes:
shiny-data:
shiny-logs: