November 9, 2026 ยท 6 min read
Self-host a Gmail outreach app and CRM with Docker
Self-hosting gives you control of the application deployment, but it does not remove the services an outreach app needs. AceMail ships a Docker setup for its web app and server process. You still need a database, authentication, Google account connections, a public HTTPS address and a scheduler to process queued sends. Use the repository README as the authoritative command-by-command setup guide.
Choose a host that can run the container
Use a VPS or a container-capable host for the Docker deployment. The Compose setup runs the AceMail app; it does not automatically supply an entire database stack. Provision the database and authentication service separately, and check your host's pricing, persistence, outbound access and uptime requirements before moving real outreach.
Prepare the database before opening the app
Apply the repository's migrations in their documented order. They create application tables, access policies and supporting functions. If you are moving an existing account or multiple users, preserve the original user IDs and ownership relationships while transferring authentication and application records. A fresh schema is not a data migration, and a Docker image does not contain your existing database.
Configure environment settings safely
Start with .env.example and follow the README's explanation of browser-visible configuration and server-only secrets. Set your database and auth connection values, public application address and the services you plan to enable. Browser configuration is supplied during the Docker build, so changing it can require rebuilding the image. Keep secrets out of the repository and do not commit your populated environment file.
Set up Google sign-in and Gmail access
Configure the correct public redirect addresses for your deployment and arrange Google OAuth access for the accounts that will use it. Connecting a Gmail mailbox is separate from simply signing into AceMail. The hosted build uses per-user Google connectors; a standalone deployment must configure the connector dependencies or replace that integration as described in the README. Do not assume moving the container transfers existing Gmail connections.
Schedule sending and reply processing
The queue processor is an authenticated HTTP endpoint at /api/public/hooks/process-queue. Set up the external scheduler and its required authentication according to the README. This scheduled process handles queued email work and reply checks. Opening the dashboard alone is not a substitute for running the queue, and missing queue authentication should not be solved by making the endpoint publicly writable.
Treat LinkedIn execution as a separate choice
For LinkedIn, choose the Chrome extension, local runner or a separately hosted browser worker. Chrome must remain running for extension execution; a persistent cloud browser needs its own deployment and configuration. LinkedIn automation can lead to account restrictions. The AceMail app container does not silently start a 24/7 LinkedIn browser for you.
Verify a small workflow before migrating everyone
Confirm sign-in, contact import, a template preview, a test email and scheduled queue processing on the new HTTPS address. Check a reply and an unsubscribe flow, then test your CRM and any AI provider you enabled. Back up the database, plan credential rotation and monitor errors. Apache 2.0 licensing allows self-hosting, but compute, database, Google and AI provider costs or usage limits may still apply.
Try it in AceMail
Request your invite