# Self-Host Your Own Automation Platform with n8n + Docker

DevFeed: [Self-Host Your Own Automation Platform with n8n + Docker](<https://devfeed.tech/articles/self-host-your-own-automation-platform-with-n8n-docker-10609.md>)

Original publisher: [Read original article](<https://technotim.com/posts/n8n-self-hosted/>)

Author: Techno Tim

Published: 2025-07-11T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [n8n](<https://devfeed.tech/topics/n8n.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [.env](<https://devfeed.tech/topics/dotenv.md>), [workflow automation](<https://devfeed.tech/topics/workflow-automation.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [compose](<https://devfeed.tech/tags/compose.md>), [discord](<https://devfeed.tech/tags/discord.md>), [docker](<https://devfeed.tech/tags/docker.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [google](<https://devfeed.tech/tags/google.md>), [linux](<https://devfeed.tech/tags/linux.md>), [n8n](<https://devfeed.tech/tags/n8n.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [workflow-automation](<https://devfeed.tech/tags/workflow-automation.md>)

## AI overview

A tutorial showing how to self-host n8n on Linux with Docker and Docker Compose. It covers environment configuration with a .env file, persistent volumes, optional Traefik integration, startup verification, and building workflows that connect to external services such as Google Sheets and Discord.

## Source excerpt

n8n is a powerful self-hosted workflow automation tool. In this tutorial, I'll show you how to self-host n8n on Linux using Docker. You'll learn how to set up the environment, configure it with a .env file, and build workflows that connect to services like Google Sheets and Discord. We'll start with a simple manual trigger, then create a scheduled workflow, and move on to a more advanced auto...