Commit 4f45375d authored by Björn Eyselein's avatar Björn Eyselein
Browse files

Impressum + Datenschutz

parent 242783c0
FROM openjdk:11-jre-slim-stretch
RUN addgroup wuekabel && useradd -g wuekabel wuekabel && apt update && apt -y install mysql-client
USER wuekabel:wuekabel
ADD --chown=wuekabel:wuekabel target/universal/wuekabel.tgz /home/wuekabel/
WORKDIR /home/wuekabel/wuekabel
COPY --chown=wuekabel:wuekabel other_resources/docker_entrypoint.sh .
EXPOSE 9000
ENTRYPOINT ./docker_entrypoint.sh
\ No newline at end of file
......@@ -7,6 +7,8 @@
}
@rightNavigation = {
<li><a href="https://www.uni-wuerzburg.de/sonstiges/impressum/">Impressum</a></li>
<li><a href="https://www.uni-wuerzburg.de/sonstiges/datenschutz/">Datenschutz</a></li>
@maybeUser match {
case Some(user) => {
@if(user.isAdmin) {
......
......@@ -15,14 +15,14 @@ updateOptions := updateOptions.value.withCachedResolution(cachedResoluton = true
resolveFromWebjarsNodeModulesDir := true
val webJarDependencies = Seq(
// FIXME: remove jquery?!?
"org.webjars.npm" % "jquery" % "3.4.1",
"org.webjars.npm" % "types__jquery" % "3.3.29",
"org.webjars.npm" % "materialize-css" % "1.0.0",
// javascript db
// "org.webjars.npm" % "dexie" % "2.0.4"
)
dependencyOverrides ++= Seq(
......
version: '3'
services:
wuekabel_db:
image: mariadb
restart: always
volumes:
- ./other_resources/create_all.sql:/docker-entrypoint-initdb.d/00_create_all.sql
environment:
- MYSQL_ROOT_PASSWORD=12344321
wuekabel_server:
image: beyselein/wuekabel
ports:
- 9090:9000
tty: true
stdin_open: true
links:
- wuekabel_db:wuekabel_db
depends_on:
- wuekabel_db
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment