
Deploy Shopware on Your Own Server
Shopware is a trendsetting ecommerce platform to power your online business.
Want to deploy Shopware on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Shopware?
Shopware is a trendsetting ecommerce platform to power your online business.
Self-Host Shopware
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
shopware-db:
image: mysql:5.7
environment:
MYSQL_DATABASE: shopware
MYSQL_PASSWORD: ""
MYSQL_ROOT_PASSWORD: ""
MYSQL_USER: shopwareuser
volumes:
- shopware-db-data:/var/lib/mysql
shopware-shopware:
image: shyim/shopware:6.2.0
environment:
APP_SECRET: 440dec3766de53010c5ccf6231c182acfc90bd25cff82e771245f736fd276518
APP_URL: http://shopware-shopware.your-domain.com
DATABASE_HOST: shopware-db:3306
DATABASE_URL: mysql://shopwareuser:@shopware-db:3306/shopware
DB_PASSWORD: ""
DB_USER: shopwareuser
INSTALL_ADMIN_PASSWORD: shopware
INSTALL_ADMIN_USERNAME: admin
INSTALL_CURRENCY: EUR
INSTALL_LOCALE: en-GB
INSTANCE_ID: 10612e3916e153dd3447850e944a03fabe89440970295447a30a75b151bd844e
MAILER_URL: null://localhost
volumes:
- shopware-state:/state
- shopware-custom-plugins:/var/www/html/custom/plugins
- shopware-files:/var/www/html/files
- shopware-logs:/var/www/html/var/logs
- shopware-theme:/var/www/html/public/theme
- shopware-media:/var/www/html/public/media
- shopware-bundles:/var/www/html/public/bundles
- shopware-sitemap:/var/www/html/public/sitemap
- shopware-thumbnail:/var/www/html/public/thumbnail
- shopware-jwt:/var/www/html/config/jwt
depends_on:
- shopware-db
volumes:
shopware-db-data: {}
shopware-state: {}
shopware-custom-plugins: {}
shopware-files: {}
shopware-logs: {}
shopware-theme: {}
shopware-media: {}
shopware-bundles: {}
shopware-sitemap: {}
shopware-thumbnail: {}
shopware-jwt: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host Shopware?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
mysql:5.7Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"