-
Notifications
You must be signed in to change notification settings - Fork 7
/
run_examples.yml
52 lines (47 loc) · 1.34 KB
/
run_examples.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
# Author: Yu Li ([email protected])
version: "3.7"
services:
sp_app: # ShinyProxy service
image: cocomcie/shinyproxy:1.0
restart: always
ports:
- "80:8080"
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
- type: bind
source: ./log/server
target: /log
- type: bind
source: ./log/container
target: /container-logs
- type: bind
source: ./config/shinyproxy/application.yml
target: /opt/shinyproxy/application.yml
read_only: true
environment:
- VIRTUAL_HOST=edss-test
- VIRTUAL_PORT=8080
networks:
- edss-net
db: # MySQL database
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- type: bind
source: ./database/test_ic
target: /var/lib/mysql
networks:
- edss-net
adminer: # Database management client
image: adminer
restart: always
ports:
- "8080:8080"
networks:
- edss-net
networks:
edss-net:
name: edss-net