Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetaGer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
MetaGer
Commits
c068cd50
Commit
c068cd50
authored
Sep 21, 2018
by
Phil Höfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added preliminary Dockerfile
parent
0b99ab10
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
34 deletions
+40
-34
.dockerignore
.dockerignore
+4
-0
.env.example
.env.example
+1
-1
Dockerfile
Dockerfile
+31
-0
config/sumas.xml.example
config/sumas.xml.example
+4
-33
No files found.
.dockerignore
0 → 100644
View file @
c068cd50
README.md
CHANGELOG.md
docker-compose.yml
Dockerfile
.env.example
View file @
c068cd50
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_KEY=
APP_URL=http://localhost
DB_CONNECTION=mysql
...
...
Dockerfile
0 → 100644
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
config/sumas.xml.example
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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment