Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-dbp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbis-public
docker-dbp
Commits
d34c0b42
Commit
d34c0b42
authored
6 years ago
by
Mario Wenzel
Browse files
Options
Downloads
Patches
Plain Diff
gitignore und reamde
parent
9ef0a5ec
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
README.md
+24
-0
24 additions, 0 deletions
README.md
with
26 additions
and
0 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
d34c0b42
init/users
.env
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
24
−
0
View file @
d34c0b42
# Docker für Datenbankenprogrammierung
## Der erste Start
1.
Docker und Docker-Compose für das System installieren
1.
Die Datei
`.env.example`
nach
`.env`
kopieren und Passwort für Admin-Nutzer ändern
1.
Die Datei
`init/users.example`
nach
`init/users`
kopieren und die Nutzer eintragen (eine Zeile pro Nutzer, keine Leerzeilen/Kommentare/etc.)
1.
`docker-compose up`
## Userpasswort
Das Passwort eines Nutzers sind die ersten 5 Zeichen der md5-Prüfsumme des Nutzernamens.
Für den Nutzer
`aaaaa`
ist das Passwort also
`echo -n aaaaa | md5sum | cut -c -5`
, damit
`594f8`
.
## System zurücksetzen
1.
`docker-compose down`
1.
`data`
ordner löschen (möglicherweise mit
`sudo`
)
1.
`docker-compose up`
## Ports
*
Postgre: 5435
*
Adminer: 8085
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