-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 891 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 891 Bytes
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
version: '3.1'
services:
queen_dk_nys:
build:
context: .
dockerfile: Dockerfile_shiny
container_name: queen_dk_nys
restart: always
environment:
- "VIRTUAL_HOST=app.dernild.com, www.app.dernild.com"
- "LETSENCRYPT_HOST=app.dernild.com, www.app.dernild.com"
volumes:
- ./data/:/srv/shiny-server/data/
- ./global.r:/srv/shiny-server/global.r
- ./server.r:/srv/shiny-server/server.r
- ./ui.r:/srv/shiny-server/ui.r
- ./www/:/srv/shiny-sever/www/
ports:
- '3838:3838'
networks:
- bridge
scraper:
build:
context: .
dockerfile: Dockerfile_scraper
container_name: queen_dk_nys_scraper
volumes:
- ./data/:usr/local/src/data/:rw
- /var/run/docker.sock:/var/run/docker.sock
networks:
- bridge
networks:
bridge:
name: bridge
external: true