Skip to content

Commit

Permalink
add some example containers for testing purposes
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed May 31, 2023
1 parent 27d99ef commit 16a5f13
Show file tree
Hide file tree
Showing 8 changed files with 231 additions and 0 deletions.
27 changes: 27 additions & 0 deletions community-containers/fail2ban/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-fail2ban",
"display_name": "Fail2ban",
"image": "szaimen/aio-fail2ban",
"image_tag": "latest",
"internal_port": "host",
"restart": "unless-stopped",
"cap_add": [
"NET_ADMIN",
"NET_RAW"
],
"environment": [
"TZ=%TIMEZONE%"
],
"apparmor_unconfined": true,
"volumes": [
{
"source": "nextcloud_aio_backup_nextcloud",
"destination": "/nextcloud",
"writeable": false
}
]
}
]
}
1 change: 1 addition & 0 deletions community-containers/fail2ban/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is not working on Docker Desktop since it needs network_mode: host in order to work correctly.
35 changes: 35 additions & 0 deletions community-containers/lldap/beta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-lldap",
"display_name": "LLDAP",
"image": "nitnelave/lldap",
"image_tag": "latest",
"ports": [
{
"ip_binding": "127.0.0.1",
"port_number": "17170",
"protocol": "tcp"
}
],
"internal_port": "3890",
"restart": "unless-stopped",
"environment": [
"TZ=%TIMEZONE%",
"LLDAP_JWT_SECRET=%LLDAP_JWT_SECRET%",
"LLDAP_LDAP_USER_PASS=%LLDAP_LDAP_USER_PASS%"
],
"secrets": [
"LLDAP_JWT_SECRET",
"LLDAP_LDAP_USER_PASS"
],
"volumes": [
{
"source": "nextcloud_aio_backup_lldap_data",
"destination": "/data",
"writeable": true
}
]
}
]
}
35 changes: 35 additions & 0 deletions community-containers/lldap/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-lldap",
"display_name": "LLDAP",
"image": "nitnelave/lldap",
"image_tag": "stable",
"ports": [
{
"ip_binding": "127.0.0.1",
"port_number": "17170",
"protocol": "tcp"
}
],
"internal_port": "3890",
"restart": "unless-stopped",
"environment": [
"TZ=%TIMEZONE%",
"LLDAP_JWT_SECRET=%LLDAP_JWT_SECRET%",
"LLDAP_LDAP_USER_PASS=%LLDAP_LDAP_USER_PASS%"
],
"secrets": [
"LLDAP_JWT_SECRET",
"LLDAP_LDAP_USER_PASS"
],
"volumes": [
{
"source": "nextcloud_aio_backup_lldap_data",
"destination": "/data",
"writeable": true
}
]
}
]
}
4 changes: 4 additions & 0 deletions community-containers/lldap/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TODO:
- find out if - LLDAP_LDAP_BASE_DN=dc=example,dc=com is really needed or can be configured via the interface.
- Also think about publishing the ldap port to the host or keeping it in the network.
- Additionally, should the interface be reachable via the nextcloud domain on a subpath?
63 changes: 63 additions & 0 deletions community-containers/netdata/beta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-netdata",
"display_name": "Netdata",
"image": "netdata/netdata",
"image_tag": "latest",
"ports": [
{
"ip_binding": "",
"port_number": "19999",
"protocol": "tcp"
}
],
"internal_port": "19999",
"restart": "unless-stopped",
"cap_add": [
"SYS_PTRACE"
],
"environment": [
"TZ=%TIMEZONE%"
],
"apparmor_unconfined": true,
"volumes": [
{
"source": "nextcloud_aio_backup_netdata_config",
"destination": "/etc/netdata",
"writeable": true
},
{
"source": "nextcloud_aio_backup_netdata_netdatalib",
"destination": "/var/lib/netdata",
"writeable": true
},
{
"source": "nextcloud_aio_backup_netdata_netdatacache",
"destination": "/var/cache/netdata",
"writeable": true
},
{
"source": "/etc/passwd",
"destination": "/host/etc/passwd",
"writeable": false
},
{
"source": "/proc",
"destination": "/host/proc",
"writeable": false
},
{
"source": "/sys",
"destination": "/host/sys",
"writeable": false
},
{
"source": "/etc/os-release",
"destination": "/host/etc/os-release",
"writeable": false
}
]
}
]
}
63 changes: 63 additions & 0 deletions community-containers/netdata/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-netdata",
"display_name": "Netdata",
"image": "netdata/netdata",
"image_tag": "stable",
"ports": [
{
"ip_binding": "",
"port_number": "19999",
"protocol": "tcp"
}
],
"internal_port": "19999",
"restart": "unless-stopped",
"cap_add": [
"SYS_PTRACE"
],
"environment": [
"TZ=%TIMEZONE%"
],
"apparmor_unconfined": true,
"volumes": [
{
"source": "nextcloud_aio_backup_netdata_config",
"destination": "/etc/netdata",
"writeable": true
},
{
"source": "nextcloud_aio_backup_netdata_netdatalib",
"destination": "/var/lib/netdata",
"writeable": true
},
{
"source": "nextcloud_aio_backup_netdata_netdatacache",
"destination": "/var/cache/netdata",
"writeable": true
},
{
"source": "/etc/passwd",
"destination": "/host/etc/passwd",
"writeable": false
},
{
"source": "/proc",
"destination": "/host/proc",
"writeable": false
},
{
"source": "/sys",
"destination": "/host/sys",
"writeable": false
},
{
"source": "/etc/os-release",
"destination": "/host/etc/os-release",
"writeable": false
}
]
}
]
}
3 changes: 3 additions & 0 deletions community-containers/netdata/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TODO:
- Also think about publishing the interface port to the host or keeping it in the network.
- Additionally, should the interface be reachable via the nextcloud domain on a subpath?

0 comments on commit 16a5f13

Please sign in to comment.