Skip to content

Create mollysocket community container #6242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4f06659
Create mollysocket.json
Anvil5465 Mar 29, 2025
7ea3fc9
Create readme.md
Anvil5465 Mar 29, 2025
7f54b82
Update readme.md
Anvil5465 Mar 29, 2025
715d84b
Update mollysocket.json
Anvil5465 Mar 29, 2025
1172b74
Update mollysocket.json
Anvil5465 Mar 30, 2025
fd6f57e
Update mollysocket.json
Anvil5465 Mar 30, 2025
766d659
Update readme.md
Anvil5465 Mar 30, 2025
05237e5
Update mollysocket.json
Anvil5465 Mar 30, 2025
39c43c5
Update mollysocket.json
Anvil5465 Mar 30, 2025
aee3b05
Update mollysocket.json
Anvil5465 Mar 30, 2025
e77ed84
Update mollysocket.json
Anvil5465 Mar 30, 2025
a6b01ec
Update mollysocket.json
Anvil5465 Mar 30, 2025
07cc588
Update mollysocket.json
Anvil5465 Mar 30, 2025
d978493
Update mollysocket.json
Anvil5465 Mar 30, 2025
73179bb
Update mollysocket.json
Anvil5465 Mar 30, 2025
44426d5
Update mollysocket.json
Anvil5465 Mar 30, 2025
9b8e0a8
Update mollysocket.json
Anvil5465 Mar 30, 2025
30cb497
Update mollysocket.json
Anvil5465 Mar 30, 2025
d66ea5b
Update mollysocket.json
Anvil5465 Apr 3, 2025
1ad8fb5
Update mollysocket.json
Anvil5465 Apr 3, 2025
e67f391
Update mollysocket.json
Anvil5465 Apr 3, 2025
68c006b
Update mollysocket.json
Anvil5465 Apr 3, 2025
9b6c1bc
Update mollysocket.json
Anvil5465 Apr 3, 2025
5e3d8df
Update mollysocket.json
Anvil5465 Apr 3, 2025
76ed52c
Update mollysocket.json
Anvil5465 Apr 3, 2025
f121855
Update mollysocket.json
Anvil5465 Apr 3, 2025
d52b346
Merge branch 'main' into Anvil5465-patch-2
Anvil5465 Apr 3, 2025
5f1380f
Update mollysocket.json
Anvil5465 Apr 3, 2025
b70cb57
Update mollysocket.json
Anvil5465 Apr 3, 2025
66daa44
Update mollysocket.json
Anvil5465 Apr 5, 2025
40ea376
Merge branch 'main' into Anvil5465-patch-2
Anvil5465 Apr 5, 2025
a655800
Update mollysocket.json
Anvil5465 Apr 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion community-containers/caddy/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Caddy with geoblocking
This container bundles caddy and auto-configures it for you. It also covers [vaultwarden](https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden) by listening on `bw.$NC_DOMAIN`, if installed. It also covers [stalwart](https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart) by listening on `mail.$NC_DOMAIN`, if installed. It also covers [jellyfin](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin) by listening on `media.$NC_DOMAIN`, if installed. It also covers [lldap](https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap) by listening on `ldap.$NC_DOMAIN`, if installed. It also covers [nocodb](https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb) by listening on `tables.$NC_DOMAIN`, if installed. It also covers [jellyseerr](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyseerr) by listening on `requests.$NC_DOMAIN`, if installed.
This container bundles caddy and auto-configures it for you. It also covers [vaultwarden](https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden) by listening on `bw.$NC_DOMAIN`, if installed. It also covers [stalwart](https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart) by listening on `mail.$NC_DOMAIN`, if installed. It also covers [jellyfin](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin) by listening on `media.$NC_DOMAIN`, if installed. It also covers [lldap](https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap) by listening on `ldap.$NC_DOMAIN`, if installed. It also covers [nocodb](https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb) by listening on `tables.$NC_DOMAIN`, if installed. It also covers [jellyseerr](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyseerr) by listening on `requests.$NC_DOMAIN`, if installed. It also covers [mollysocket](https://github.com/nextcloud/all-in-one/tree/main/community-containers/mollysocket) by listening on `mollysocket.$NC_DOMAIN`, if installed.

### Notes
- This container is incompatible with the [npmplus](https://github.com/nextcloud/all-in-one/tree/main/community-containers/npmplus) community container. So make sure that you do not enable both at the same time!
Expand All @@ -10,6 +10,7 @@ This container bundles caddy and auto-configures it for you. It also covers [vau
- If you want to use this with [lldap](https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap), make sure that you point `ldap.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for lldap.
- If you want to use this with [nocodb](https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb), make sure that you point `tables.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for nocodb.
- If you want to use this with [jellyseerr](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyseerr), make sure that you point `requests.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for jellyseerr.
- If you want to use this with [mollysocket](https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyseerr), make sure that you point `mollysocket.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for mollysocket.
- After the container was started the first time, you should see a new `nextcloud-aio-caddy` folder and inside there an `allowed-countries.txt` file when you open the files app with the default `admin` user. In there you can adjust the allowed country codes for caddy by adding them to the first line, e.g. `IT FR` would allow access from italy and france. Private ip-ranges are always allowed. Additionally, in order to activate this config, you need to get an account at https://dev.maxmind.com/geoip/geolite2-free-geolocation-data and download the `GeoLite2-Country.mmdb` and upload it with this exact name into the `nextcloud-aio-caddy` folder. Afterwards restart all containers from the AIO interface and your new config should be active!
- You can add your own Caddy configurations in `/data/caddy-imports/` inside the Caddy container (`sudo docker exec -it nextcloud-aio-caddy bash`). These will be imported on container startup.
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
Expand Down
33 changes: 33 additions & 0 deletions community-containers/mollysocket/mollysocket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-mollysocket",
"display_name": "MollySocket",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/mollysocket",
"image": "ghcr.io/mollyim/mollysocket",
"image_tag": "1",
"restart": "always",
"ports": [
"8020:8020"
],
"volumes": [
{
"source": "nextcloud_aio_mollysocket",
"destination": "/data",
"writeable": true
}
],
"working_dir": "/data",
"command": "server",
"environment": [
"TZ=%TIMEZONE%",
"MOLLY_DB=\"/data/mollysocket.db\"",
"MOLLY_ALLOWED_ENDPOINTS=[\"*\",\"https://push.{$NC_DOMAIN}\"]",
"MOLLY_ALLOWED_UUIDS=[\"*\"]",
"MOLLY_HOST=0.0.0.0",
"MOLLY_PORT=8020",
"RUST_LOG=error"
]
}
]
}
13 changes: 13 additions & 0 deletions community-containers/mollysocket/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## MollySocket
This container bundles MollySocket and auto-configures it for you.

### Notes
- This container is only intended to be used over https behind a reverse proxy. You can You can set up a reverse proxy following [these instructions](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) OR use the Caddy community container that will automatically configure mollysocket.$NC_DOMAIN to redirect to your MollySocket.
- This will work with a locally hosted UnifiedPush provider such as [NextPush](https://codeberg.org/NextPush/uppush) if it is hosted at https://push.$NC_DOMAIN.
- See [here](https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers) how to add it to the AIO stack.

### Repository
https://github.com/mollyim/mollysocket

### Maintainer
https://github.com/Anvil5465
Loading