Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fsfahrttool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fsini-informatik
fsfahrttool
Commits
275934d3
Commit
275934d3
authored
8 years ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
add mysql to docker for easier db magic
parent
f23c9391
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README_docker.md
+13
-0
13 additions, 0 deletions
README_docker.md
docker-compose.yml
+14
-0
14 additions, 0 deletions
docker-compose.yml
with
27 additions
and
0 deletions
README_docker.md
+
13
−
0
View file @
275934d3
...
...
@@ -19,8 +19,21 @@ docker-compose up -d
### Step 4
Wait for containers to start up.
Run a bash inside the web container (
`docker exec -it registrationsystem_web_1 bash`
) and
```
cd usr/share/nginx/html/
echo 1 > config_current_fahrt_id
cp passwd/users.example.txt passwd/users.txt
```
Open http://localhost:8080 in your browser
Admin interface is at http://localhost:8080/admin (login with sudo:password)
For phpMyAdmin find the IP it runs on (
`docker inspect registrationsystem_phpmyadmin_1`
and find IPAddress) and open
http://
<ip>
:8090
## Mysql Dump Upgrade
Remove containers as in cleanup, remove mysql_dump folder and start again
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
14
−
0
View file @
275934d3
...
...
@@ -7,6 +7,20 @@ web:
volumes
:
-
./registration-system:/usr/share/nginx/html
phpmyadmin
:
image
:
phpmyadmin/phpmyadmin
links
:
-
db
environment
:
-
PMA_HOST=db
-
PMA_PORT=3306
-
PMA_USER=fsfahrt
-
PMA_PASSWORD=9Lug*96q
ports
:
-
"
8090:80"
volumes
:
-
/sessions
db
:
build
:
docker
dockerfile
:
DockerfileMariaDB
...
...
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