how to setup mollysocket on portainer in simple terms and instruction
- User
how to setup mollysocket on portainer in simple terms and instruction
Assistant
I'll walk you through setting up MollySocket on Portainer step by step.
What is MollySocket? MollySocket is a UnifiedPush distributor that works with the Molly messenger app (a Signal fork) to deliver push notifications without Google Play Services.
Prerequisites:
- Portainer already installed and running
- A domain name (for reverse proxy setup)
- Basic understanding of Docker containers
Step-by-Step Setup:
1. Create the Container in Portainer
- Log into your Portainer web interface
- Go to "Containers" and click "Add container"
- Name it something like "mollysocket"
2. Container Configuration
- Image:
ghcr.io/mollyim/mollysocket:latest - Port mapping: Map container port
8020to a host port (like8020) - Restart policy: Set to "Always"
3. Environment Variables Add these environment variables:
MOLLY_CONF:/data/config.tomlRUST_LOG:info(for logging level)
4. Volume Mapping Create a bind mount or volume:
- Container path:
/data - Host path: Choose a location like
/opt/mollysocket/data
5. Configuration File After creating the container, you'll need to create a
config.tomlfile in your data directory with basic settings like:[server] host = "0.0.0.0" port = 8020 [database] path = "/data/mollysocket.db"6. Reverse Proxy Setup You'll typically want to put this behind a reverse proxy (like Nginx Proxy Manager or Traefik) with SSL for external access.
7. Deploy and Test
- Deploy the container
- Check the logs to ensure it starts properly
- Access the web interface to verify it's running
The container should now be accessible on your configured port, and you can connect your Molly app to use it for push notifications.
Would you like me to elaborate on any of these steps or help with specific configuration details?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.