Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sygal-import-ws-image
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
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
open-source
docker
sygal-import-ws-image
Commits
6062bf36
Commit
6062bf36
authored
4 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Correction/amélioration du README
parent
781b6839
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-9
4 additions, 9 deletions
README.md
with
4 additions
and
9 deletions
README.md
+
4
−
9
View file @
6062bf36
# Image Docker pour le web service d'import pour SyGAL
## Obtention de l'image
## Obtention
des sources
de l'image
```
bash
git clone https://git.unicaen.fr/open-source/docker/sygal-import-ws-image.git
...
...
@@ -50,25 +50,22 @@ services:
working_dir: /app
```
##
Run
##
Utilisation en ligne de commande
*Pré-requis : se placer dans le répertoire contenant les sources du web service.*
-
Exemple : démarrage du container pour tester le web service en local
-
Exemple : démarrage du container pour tester le web service en local
à l'adresse
`https://localhost:8443`
```
bash
docker run
\
--rm
\
-d
\
-p
8080:80
\
-p
8443:443
\
--volume
${
PWD
}
:/app
\
--name
sygal-import-ws-container-php7.0
\
sygal-import-ws-image-php7.0
```
Une fois le container démarré ainsi, le web service est accessible à l'adresse
`https://localhost:8443`
.
-
Exemple : démarrage ponctuel d'un container pour lancer un
`composer install`
```
bash
...
...
@@ -81,9 +78,7 @@ sygal-import-ws-image-php7.0 \
composer
install
```
## Exec
-
Lancement d'une commande dans un container déjà démarré, exemple :
-
Lancement d'une commande dans un container déjà démarré
```
bash
docker
exec
\
...
...
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