Skip to content

acadevmy/shopware-application-brick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shopware-application-brick

Powered by DevmyCli

A new brick created with the Devmy CLI.

Generated by [mason][1] 🧱

Getting Started 🚀

https://clidocs-devmy-pillars-projects.vercel.app

This brick install a dockware flex a docker image that can you use to initialize a Shopware 6 application. https://hub.docker.com/r/dockware/flex This is image NOT contains shopware on default. You should install your self first time you initialize the container.

Config Server info:

Config Nginx:

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

nginx proxy:

    server_name domain__host;

    location / {
        proxy_pass http://127.0.0.1:8055;
        include proxy_params;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

Certbot config:

https://certbot.eff.org/instructions?ws=nginx&os=snap

Shopware installation steps (You should exec this commands ONLY first time you initialize Shopware):

Reference documentation: https://developer.shopware.com/docs/guides/installation/template.html

In order to install shopware inside container exec this commands inside containers.:

  • composer create-project shopware/production
  • composer require --dev shopware/dev-tools
  • mv ./production/{.,}* ./
  • bin/console system:install --basic-setup

Shopware Framework config:

New File: config/packages/framework.yaml

172.19.0.0/24, rappresenta il range di ip del container di docker.

framework:
    trusted_proxies: '127.0.0.1,10.20.0.0/24,172.19.0.0/24'
    trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages