Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-php-starterkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
IML Open Source
docker-php-starterkit
Commits
dbc5ab69
Commit
dbc5ab69
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update docs
parent
2d39e714
Branches
Branches containing commit
No related tags found
1 merge request
!9
Update docker init script
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/30_🪄_Init_a_new_project.md
+0
-0
0 additions, 0 deletions
docs/30_🪄_Init_a_new_project.md
docs/50_⌨️_Usage.md
+62
-0
62 additions, 0 deletions
docs/50_⌨️_Usage.md
docs/_index.md
+0
-6
0 additions, 6 deletions
docs/_index.md
with
62 additions
and
6 deletions
docs/30_
🔆
_Init_a_new_project.md
→
docs/30_
🪄
_Init_a_new_project.md
+
0
−
0
View file @
dbc5ab69
File moved
This diff is collapsed.
Click to expand it.
docs/50_⌨️_Usage.md
0 → 100644
+
62
−
0
View file @
dbc5ab69
## Use docker init script
### Interactive mode
If you simply start the init.sh then you get an interactive mode.
There is a menu offerning a key and the description for its action. If an action is finished you get the menu again.

### Command line parameters
The script supports command line parameters to use it in scripts. Use
`-h`
to get a help:
```
txt
INITIALIZER FOR DOCKER APP v1.9
A helper script written in Bash to bring up a PHP+Mysql application in docker.
Source : https://git-repo.iml.unibe.ch/iml-open-source/docker-php-starterkit
Docs : https://os-docs.iml.unibe.ch/docker-php-starterkit/
License: GNU GPL 3.0
(c) Institute for Medical Education; University of Bern
SYNTAX:
init.sh [-h|-v]
init.sh [menu key]
OPTIONS:
-h show this help and exit
-v show version exit
MENU KEYS:
In the interactive menu are some keys to init an action.
The same keys can be put as parameter to start this action.
You can add multiples keys to apply multiple actions.
g - remove git data of starterkit
i - init application: set permissions
t - generate files from templates
T - remove generated files
u - startup containers docker-compose ... up -d
U - startup containers docker-compose ... up -d --build
s - shutdown containers docker-compose stop
r - remove containers docker-compose rm -f
m - more infos
o - open app [my_new_app] http://localhost:8001/
c - console (bash)
q - quit
EXAMPLES:
init.sh starts interactive mode
init.sh u bring up docker container(s) and stay in interactive mode
init.sh i q set write permissions and quit
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/_index.md
+
0
−
6
View file @
dbc5ab69
...
...
@@ -14,9 +14,3 @@ Free software and Open Source from University of Bern :: IML - Institute of Medi
📄 Source:
<https://git-repo.iml.unibe.ch/iml-open-source/docker-php-starterkit>
\
📜 License: GNU GPL 3.0
\
📖 Docs:
<https://os-docs.iml.unibe.ch/docker-php-starterkit/>
- - -
## Screenshot ##

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