@@ -22,14 +22,18 @@ sudo apt install docker-compose
22
22
23
23
For docker-compose you can also [ see here] ( https://docs.docker.com/compose/install/other/ ) .
24
24
25
- ## Run the composition MAGIC WAY
25
+ ## Run the Composition for Demo Purposes
26
26
27
27
Enter in ` Docker-compose ` directory and run ` run-docker-compose.sh ` :
28
28
``` bash
29
29
cd Docker-compose
30
30
./run-docker-compose.sh
31
31
```
32
- The script make the directories for local mounts, copy all required files in right directory and start a full demo with test and Service providers
32
+ The script creates the directories for local mounts and copies all required files to start a full demo with test and SAML2 Service Providers.
33
+
34
+ > Warning: The script deletes any previous created directory if found.
35
+
36
+ The result is represented by the following services:
33
37
34
38
* Satosa-saml2spid is published with nginx frontend on https://localhost
35
39
* Mongo Espress is published on http://localhost:8081
@@ -38,7 +42,7 @@ The script make the directories for local mounts, copy all required files in rig
38
42
39
43
More details ad start option are avable on [ run-docker-compose.sh] ( ../docs/run-docker-compose.sh.md ) page
40
44
41
- ### Run the composition LONG WAY
45
+ ### Run the Composition for Production Use
42
46
43
47
Enter in ` Docker-compose ` directory and make required direcotries for local mounts:
44
48
``` bash
@@ -61,6 +65,14 @@ Clean static data from Satosa project
61
65
rm -R ./satosa-project/static
62
66
```
63
67
68
+ Copy the example env file and edit according to your configuration,
69
+ therefore ** all the default passwords MUST be changed** .
70
+
71
+ ``` bash
72
+ cp env.example .env
73
+ ```
74
+ You can still edit all files in detail from their local volumes.
75
+
64
76
Run the compose for a minimal system (nginx and satosa)
65
77
```
66
78
docker compose up
@@ -73,16 +85,6 @@ docker compose --profile demo up
73
85
74
86
Read the [ profiles guide] ( ../docs/docker_compose_profiles.md ) for more informations
75
87
76
-
77
- ### Configure your system
78
- Copy the example env file:
79
- ``` bash
80
- cp env.example .env
81
- ```
82
-
83
- Edit and personalize the system from ` .env ` files. You can still edit all files in detail from their local volumes.
84
- ** IMPORTANT all the default password must be changed!**
85
-
86
88
### Insights
87
89
88
90
* More details on prodiles read the [ Docker Compose Profiles] ( ../docs/docker_compose_profiles.md ) page
0 commit comments