-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
154 lines (133 loc) · 4.8 KB
/
docker-compose.yml
File metadata and controls
154 lines (133 loc) · 4.8 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
services:
mariadb:
image: "mariadb:10.5"
container_name: seb-server-demo-mariadb
environment:
- MARIADB_ROOT_PASSWORD=admin123
- MARIADB_AUTO_UPGRADE=1
ports:
- "3307:3306"
volumes:
- seb-server-demo-mariadb:/var/lib/mysql
- ./config/mariadb/config.cnf:/etc/mysql/conf.d/config.cnf
networks:
- seb-server-network
restart: unless-stopped
seb-server:
image: "anhefti/seb-server:sprint-testing"
# NOTE: this is only needed for mac with amd
platform: linux/amd64
container_name: seb-server
environment:
# Service runtime settings
- JAVA_HEAP_MIN=1G
- JAVA_HEAP_MAX=8G
- spring_profiles_active=prod
- sebserver_test_property=This is a SEB Server Demo Setup
# SEB Server password, internally used to en-/decrypt sensitive data secure internal communication
- sebserver_password=somePW
# Data Base settings
- sebserver_mariadb_password=admin123
- datastore_mariadb_server_address=seb-server-demo-mariadb
- datastore_mariadb_server_port=3306
- spring_flyway_locations=classpath:config/sql/base,classpath:config/sql/demo
# External URL settings
- sebserver_webservice_http_external_scheme=http
- sebserver_webservice_http_external_servername=localhost
- sebserver_webservice_http_external_port=8080
- sebserver_webservice_autologin_url=http://localhost
# Screen Proctoring settings and passwords
- sebserver_feature_exam_seb_screenProctoring_bundled_url=http://sps-webservice:8090
- sps_sebserver_client_secret=somePW
- sps_sebserver_password=admin
# swagger
- springdoc_api-docs_enabled=true
- springdoc_swagger-ui_enabled=true
# Logging
- logging_level_ch_ethz_seb_sebserver_webservice_servicelayer=DEBUG
# Access Token Validity
- sebserver_webservice_api_admin_accessTokenValiditySeconds=3600
volumes:
- .:/sebserver/config/spring
ports:
- "8080:8080"
networks:
- seb-server-network
depends_on:
- "mariadb"
restart: unless-stopped
sps-webservice:
image: "anhefti/seb-sps:sprint-testing"
# NOTE: this is only needed for mac with amd
platform: linux/amd64
container_name: sps-webservice
environment:
# Service runtime settings
- JAVA_HEAP_MIN=1G
- JAVA_HEAP_MAX=6G
- SERVER_PORT=8090
- spring_profiles_active=bundled,demo
- sps_webservice_distributed=false
# SEB Server password, internally used to en-/decrypt sensitive data secure internal communication
- sebserver_password=somePW
# Data Base settings
- datastore_mariadb_server_port=3306
- datastore_mariadb_server_address=seb-server-demo-mariadb
- mariadb_password=admin123
- spring_flyway_locations=classpath:config/sql/base,classpath:config/sql/demo
- sps_data_store_adapter=FULL_RDBMS
# External URL settings
- sps_webservice_http_external_scheme=http
- sps_webservice_http_external_servername=localhost
- sps_webservice_http_external_port=8090
# SEB Server client connection detail settings
- sebserver_client_secret=somePW
- sps_gui_redirect_url=http://localhost:3000
- sps_webservice_sebserver_bundle=true
# Screen Proctoring GUI client connection detail settings
- spsgui_client_secret=somePW
- sps_init_sebserveraccount_password=admin
# Logging
- logging_level_ch_ethz_seb_sps_server_servicelayer_impl=DEBUG
- logging_level_ch_ethz_seb_sps_server_weblayer=DEBUG
# Access Token Validity
- sps_api_admin_accessTokenValiditySeconds=3600
volumes:
- .:/sebsps/config/spring
ports:
- "8090:8090"
networks:
- seb-server-network
depends_on:
- "mariadb"
restart: unless-stopped
# Uncomment this if you don't want to run the seb-server-gui yourself
# You have to run `docker build -t seb-server-gui:local .` for building the image before starting the container
# seb-server-gui:
# image: "seb-server-gui:local"
# container_name: seb-server-gui
# environment:
# - SERVER_PORT=3001
# - SERVE_CLIENT=true
# - SEB_SERVER_URL=http://seb-server:8080
# - SEB_SERVER_DEFAULT_URL=/admin-api/v1
# - SEB_SERVER_USERNAME=guiClient
# - SEB_SERVER_PASSWORD=somePW
# - PROCTOR_SERVER_URL=http://sps-webservice:8090
# - PROCTOR_SERVER_DEFAULT_URL=/admin-api/v1
# - PROCTOR_SERVER_USERNAME=spsGuiClient
# - PROCTOR_SERVER_PASSWORD=somePW
# ports:
# - "3001:3001"
# networks:
# - seb-server-network
# depends_on:
# - "seb-server"
# - "sps-webservice"
# restart: unless-stopped
networks:
seb-server-network:
name: seb-server-demo-network
volumes:
seb-server-demo-mariadb:
name: seb-server-demo-db