You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40ff888
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+24-17Lines changed: 24 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,50 +3,57 @@
3
3
We provide the following base containers which can be used in downstream projects:
4
4
5
5
## Apache2 containers
6
-
**Plain Apache**</br>
6
+
7
+
### Plain Apache
8
+
7
9

8
10
9
-
**Apache 2 with shibboleth**</br>
10
-

11
+
### Apache 2 with shibboleth
11
12
13
+

12
14
13
15
## PHP 72 images
14
16
15
-
**PROD image:**</br>
17
+
**PROD image:**
18
+
16
19

17
20
18
-
**Dev images:**</br>
19
-
</br>
20
-

21
+
**Dev images:**
21
22
23
+

24
+

22
25
23
26
## PHP 8.2 images
24
27
25
-
**PROD image:**<br>
28
+
**PROD image:**
26
29
27
30

28
31
29
-
**Dev images:** </br>
32
+
**Dev images:**
33
+
30
34

31
35
32
36
## Features
33
37
34
-
- At every start, the php containers will recreate the symfony cache dir. </br>
35
-
- You can supply the environment variable APACHE_UID. It creates the user "openconext", and starts Apache with that the supplied uid.
36
-
This allows for strict permissions on mounted files.
37
-
You need to prefix the uid with a # like so:
38
-
```
38
+
- At every start, the php containers will recreate the symfony cache dir.
39
+
- You can supply the environment variable APACHE_UID. It creates the user "openconext", and starts Apache with that the supplied uid.
40
+
This allows for strict permissions on mounted files.
41
+
You need to prefix the uid with a # like so:
42
+
43
+
```sh
39
44
docker run -e APACHE_UID=#1337 ghcr.io/openconext/openconext-basecontainers/php72-apache2:latest
40
45
```
46
+
41
47
- You can supply the environment variable "HTTPD_CSP" which will set the CSP header on responses.
42
48
- You can supply the environment variable TZ to set the timezone on the php82 containers
43
49
- You can add PHP_MEMORY_LIMIT to override the default setting of 128M php memory limit on the php82 containers
44
50
45
51
### satosa container
46
52
47
-
- At every start, the satosa container will create a new satosa user and group.</br>
48
-
- You can supply the environment variables RUNAS_UID and RUNAS_GID to configure the chosen uid and gid inside the container.</br>
53
+
- At every start, the satosa container will create a new satosa user and group.
54
+
- You can supply the environment variables RUNAS_UID and RUNAS_GID to configure the chosen uid and gid inside the container.
49
55
- Without RUNAS_UID and RUNAS_GID the container will fall back to uid=1000 and gid=1000
50
-
```
56
+
57
+
```sh
51
58
docker run -e RUNAS_UID=1234 -e RUNAS_GID=1234 --rm ghcr.io/openconext/openconext-basecontainers/satosa:latest
0 commit comments