Skip to content

Commit 16a5f13

Browse files
committed
add some example containers for testing purposes
Signed-off-by: Simon L <[email protected]>
1 parent 27d99ef commit 16a5f13

File tree

8 files changed

+231
-0
lines changed

8 files changed

+231
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-fail2ban",
5+
"display_name": "Fail2ban",
6+
"image": "szaimen/aio-fail2ban",
7+
"image_tag": "latest",
8+
"internal_port": "host",
9+
"restart": "unless-stopped",
10+
"cap_add": [
11+
"NET_ADMIN",
12+
"NET_RAW"
13+
],
14+
"environment": [
15+
"TZ=%TIMEZONE%"
16+
],
17+
"apparmor_unconfined": true,
18+
"volumes": [
19+
{
20+
"source": "nextcloud_aio_backup_nextcloud",
21+
"destination": "/nextcloud",
22+
"writeable": false
23+
}
24+
]
25+
}
26+
]
27+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is not working on Docker Desktop since it needs network_mode: host in order to work correctly.

community-containers/lldap/beta.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-lldap",
5+
"display_name": "LLDAP",
6+
"image": "nitnelave/lldap",
7+
"image_tag": "latest",
8+
"ports": [
9+
{
10+
"ip_binding": "127.0.0.1",
11+
"port_number": "17170",
12+
"protocol": "tcp"
13+
}
14+
],
15+
"internal_port": "3890",
16+
"restart": "unless-stopped",
17+
"environment": [
18+
"TZ=%TIMEZONE%",
19+
"LLDAP_JWT_SECRET=%LLDAP_JWT_SECRET%",
20+
"LLDAP_LDAP_USER_PASS=%LLDAP_LDAP_USER_PASS%"
21+
],
22+
"secrets": [
23+
"LLDAP_JWT_SECRET",
24+
"LLDAP_LDAP_USER_PASS"
25+
],
26+
"volumes": [
27+
{
28+
"source": "nextcloud_aio_backup_lldap_data",
29+
"destination": "/data",
30+
"writeable": true
31+
}
32+
]
33+
}
34+
]
35+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-lldap",
5+
"display_name": "LLDAP",
6+
"image": "nitnelave/lldap",
7+
"image_tag": "stable",
8+
"ports": [
9+
{
10+
"ip_binding": "127.0.0.1",
11+
"port_number": "17170",
12+
"protocol": "tcp"
13+
}
14+
],
15+
"internal_port": "3890",
16+
"restart": "unless-stopped",
17+
"environment": [
18+
"TZ=%TIMEZONE%",
19+
"LLDAP_JWT_SECRET=%LLDAP_JWT_SECRET%",
20+
"LLDAP_LDAP_USER_PASS=%LLDAP_LDAP_USER_PASS%"
21+
],
22+
"secrets": [
23+
"LLDAP_JWT_SECRET",
24+
"LLDAP_LDAP_USER_PASS"
25+
],
26+
"volumes": [
27+
{
28+
"source": "nextcloud_aio_backup_lldap_data",
29+
"destination": "/data",
30+
"writeable": true
31+
}
32+
]
33+
}
34+
]
35+
}

community-containers/lldap/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
TODO:
2+
- find out if - LLDAP_LDAP_BASE_DN=dc=example,dc=com is really needed or can be configured via the interface.
3+
- Also think about publishing the ldap port to the host or keeping it in the network.
4+
- Additionally, should the interface be reachable via the nextcloud domain on a subpath?
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-netdata",
5+
"display_name": "Netdata",
6+
"image": "netdata/netdata",
7+
"image_tag": "latest",
8+
"ports": [
9+
{
10+
"ip_binding": "",
11+
"port_number": "19999",
12+
"protocol": "tcp"
13+
}
14+
],
15+
"internal_port": "19999",
16+
"restart": "unless-stopped",
17+
"cap_add": [
18+
"SYS_PTRACE"
19+
],
20+
"environment": [
21+
"TZ=%TIMEZONE%"
22+
],
23+
"apparmor_unconfined": true,
24+
"volumes": [
25+
{
26+
"source": "nextcloud_aio_backup_netdata_config",
27+
"destination": "/etc/netdata",
28+
"writeable": true
29+
},
30+
{
31+
"source": "nextcloud_aio_backup_netdata_netdatalib",
32+
"destination": "/var/lib/netdata",
33+
"writeable": true
34+
},
35+
{
36+
"source": "nextcloud_aio_backup_netdata_netdatacache",
37+
"destination": "/var/cache/netdata",
38+
"writeable": true
39+
},
40+
{
41+
"source": "/etc/passwd",
42+
"destination": "/host/etc/passwd",
43+
"writeable": false
44+
},
45+
{
46+
"source": "/proc",
47+
"destination": "/host/proc",
48+
"writeable": false
49+
},
50+
{
51+
"source": "/sys",
52+
"destination": "/host/sys",
53+
"writeable": false
54+
},
55+
{
56+
"source": "/etc/os-release",
57+
"destination": "/host/etc/os-release",
58+
"writeable": false
59+
}
60+
]
61+
}
62+
]
63+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"aio_services_v1": [
3+
{
4+
"container_name": "nextcloud-aio-netdata",
5+
"display_name": "Netdata",
6+
"image": "netdata/netdata",
7+
"image_tag": "stable",
8+
"ports": [
9+
{
10+
"ip_binding": "",
11+
"port_number": "19999",
12+
"protocol": "tcp"
13+
}
14+
],
15+
"internal_port": "19999",
16+
"restart": "unless-stopped",
17+
"cap_add": [
18+
"SYS_PTRACE"
19+
],
20+
"environment": [
21+
"TZ=%TIMEZONE%"
22+
],
23+
"apparmor_unconfined": true,
24+
"volumes": [
25+
{
26+
"source": "nextcloud_aio_backup_netdata_config",
27+
"destination": "/etc/netdata",
28+
"writeable": true
29+
},
30+
{
31+
"source": "nextcloud_aio_backup_netdata_netdatalib",
32+
"destination": "/var/lib/netdata",
33+
"writeable": true
34+
},
35+
{
36+
"source": "nextcloud_aio_backup_netdata_netdatacache",
37+
"destination": "/var/cache/netdata",
38+
"writeable": true
39+
},
40+
{
41+
"source": "/etc/passwd",
42+
"destination": "/host/etc/passwd",
43+
"writeable": false
44+
},
45+
{
46+
"source": "/proc",
47+
"destination": "/host/proc",
48+
"writeable": false
49+
},
50+
{
51+
"source": "/sys",
52+
"destination": "/host/sys",
53+
"writeable": false
54+
},
55+
{
56+
"source": "/etc/os-release",
57+
"destination": "/host/etc/os-release",
58+
"writeable": false
59+
}
60+
]
61+
}
62+
]
63+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TODO:
2+
- Also think about publishing the interface port to the host or keeping it in the network.
3+
- Additionally, should the interface be reachable via the nextcloud domain on a subpath?

0 commit comments

Comments
 (0)