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
c068cd50
Commit
c068cd50
authored
6 years ago
by
Phil Höfer
Browse files
Options
Downloads
Patches
Plain Diff
Added preliminary Dockerfile
parent
0b99ab10
No related branches found
Branches containing commit
No related tags found
1 merge request
!1310
Resolve "MetaGer in Docker"
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+4
-0
4 additions, 0 deletions
.dockerignore
.env.example
+1
-1
1 addition, 1 deletion
.env.example
Dockerfile
+31
-0
31 additions, 0 deletions
Dockerfile
config/sumas.xml.example
+4
-33
4 additions, 33 deletions
config/sumas.xml.example
with
40 additions
and
34 deletions
.dockerignore
0 → 100644
+
4
−
0
View file @
c068cd50
README.md
CHANGELOG.md
docker-compose.yml
Dockerfile
This diff is collapsed.
Click to expand it.
.env.example
+
1
−
1
View file @
c068cd50
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_KEY=
APP_URL=http://localhost
DB_CONNECTION=mysql
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
31
−
0
View file @
c068cd50
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
\
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
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 @
c068cd50
<?xml version="1.0" encoding="UTF-8"?>
<sumas>
<!-- Eine ausführliche Beschreibung der verwendeten Attribute gibt es unter: https://gitlab.metager3.de/open-source/MetaGer/wikis/sumas-xml
<suma
name="suchmaschine"
host="www.suchmaschine.de"
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
<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
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/"
/>
<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"
/>
</sumas>
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