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 da8a659
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+33-14Lines changed: 33 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,53 +3,72 @@
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>
11
+
### Apache 2 with shibboleth
12
+
10
13

11
14
12
15
## JAVA containers
13
-
**Plain JAVA 21**</br>
16
+
17
+
**Plain JAVA 21**
14
18

15
19
16
20
## PHP 72 images
17
21
18
-
**PROD image:**</br>
22
+
**PROD image:**
23
+
19
24

20
25
21
-
**Dev images:**</br>
22
-
</br>
23
-

26
+
**Dev images:**
24
27
28
+

29
+

25
30
26
31
## PHP 8.2 images
27
32
28
-
**PROD image:**<br>
33
+
**PROD image:**
29
34
30
35

31
36
32
-
**Dev images:** </br>
37
+
**Dev images:**
38
+
33
39

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