Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
558bd1aa
Commit
558bd1aa
authored
6 years ago
by
Phil Höfer
Browse files
Options
Downloads
Plain Diff
Merge branch '799-metager-in-docker' into 'development'
Resolve "MetaGer in Docker" Closes
#799
See merge request
!1310
parents
5375c95f
d5818910
No related branches found
No related tags found
1 merge request
!1310
Resolve "MetaGer in Docker"
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.dockerignore
+4
-0
4 additions, 0 deletions
.dockerignore
.env.example
+1
-8
1 addition, 8 deletions
.env.example
Dockerfile
+32
-0
32 additions, 0 deletions
Dockerfile
config/sumas.xml.example
+4
-33
4 additions, 33 deletions
config/sumas.xml.example
start-dev.sh
+2
-0
2 additions, 0 deletions
start-dev.sh
with
43 additions
and
41 deletions
.dockerignore
0 → 100644
+
4
−
0
View file @
558bd1aa
README.md
CHANGELOG.md
docker-compose.yml
Dockerfile
This diff is collapsed.
Click to expand it.
.env.example
+
1
−
8
View file @
558bd1aa
APP_ENV=local
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_LOG_LEVEL=debug
APP_KEY=
APP_URL=http://localhost
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
BROADCAST_DRIVER=log
CACHE_DRIVER=file
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_DRIVER=file
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
32
−
0
View file @
558bd1aa
FROM
debian:buster
RUN
apt-get update
&&
apt-get
install
-y
\
composer
\
php7.2
\
php-mbstring
\
php7.2-xml
\
php-zip
\
php-gd
\
php-sqlite3
\
php-mysql
\
php-curl
\
redis-server
\
sqlite3
\
nodejs
\
libpng-dev
\
unzip
\
npm
RUN
npm
install
gulp
-g
COPY
. /app
WORKDIR
app
RUN
mv
config/sumas.xml.example config/sumas.xml
&&
mv
.env.example .env
RUN
composer
install
--no-plugins
--no-scripts
RUN
npm
install
RUN
npm run dev
RUN
php artisan key:generate
CMD
redis-server --daemonize yes && php artisan serve --host=0.0.0.0
EXPOSE
8000
This diff is collapsed.
Click to expand it.
config/sumas.xml.example
+
4
−
33
View file @
558bd1aa
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<sumas>
<sumas>
<!-- Eine ausführliche Beschreibung der verwendeten Attribute gibt es unter: https://gitlab.metager3.de/open-source/MetaGer/wikis/sumas-xml
<suma
name=
"mnogosearch"
host=
"mg3.suma-ev.de"
skript=
"/cgi-bin/search.cgi"
formData=
"q=<<QUERY>>&cs=utf-8&ps=20"
package=
"mnogosearch"
type=
"web"
port=
"80"
userSelectable=
"1"
displayName=
"Wikis"
outputEncoding=
"Latin1"
/>
<suma
<suma
name=
"BASE"
host=
"baseapi.ub.uni-bielefeld.de"
skript=
"/cgi-bin/BaseHttpSearchInterface.fcgi"
formData=
"func=PerformSearch&query=<<QUERY>>"
package=
"BASE"
port=
"80"
formDataEn=
"func=PerformSearch&query=<<QUERY>>"
displayName=
"BASE"
userSelectable=
"1"
type=
"wissenschaft"
homepage=
"http://www.base-search.net/"
/>
name="suchmaschine"
<suma
name=
"blogsearch"
host=
"blogsuche.suma-ev.de"
skript=
"/blogsearch/xmlout.php"
formData=
"search=<<QUERY>>&length=400&rows=50&category=<<CATEGORY>>"
package=
"blogsearch"
port=
"80"
inputEncoding=
"utf8"
displayName=
"Blogsuche"
userSelectable=
"1"
type=
"andere"
engineBoost=
"0.2"
homepage=
"http://blogsuche.suma-ev.de/blogsearch/index.php"
/>
host="www.suchmaschine.de"
</sumas>
skript="/suche/"
formData="sprache=de&sortieren=true&queue=<<QUERY>>"
package="suchmaschine"
displayName="Meine Suchmaschine"
homepage="www.suchmaschine.de/welcome"
port="443"
inputEncoding="Latin1"
userSelectable="1"
type="web, nachrichten"
engineBoost="1.2"
additionalHeaders="$#!#$"
disabled="0"
hasSiteSearch="1"
cacheDuration="60"
></suma>
-->
<suma
name=
"BASE"
host=
"baseapi.ub.uni-bielefeld.de"
skript=
"/cgi-bin/BaseHttpSearchInterface.fcgi"
formData=
"func=PerformSearch&query=<<QUERY>>"
package=
"BASE"
displayName=
"BASE"
homepage=
"http://www.base-search.net/"
port=
"80"
userSelectable=
"1"
type=
"web,wissenschaft"
></suma>
</sumas>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
start-dev.sh
0 → 100755
+
2
−
0
View file @
558bd1aa
#!/bin/sh
docker build
.
-t
metager
&&
docker run
-p
8000:8000/tcp metager
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment