You need to create two different files to set up a store application in app.blugento.com in a specific format which is described below.

  1. See docker-compose.yml.

  2. See info.yml.

Make sure you have to change the parameters before sending to our support team member or developers to make it working perfect for you.

Overview of Docker Compose

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

Compose works in all environments: production, staging, development, testing, as well as CI workflows. You can learn more about each case in Common Use Cases.

Using Compose is basically a three-step process:

  1. Define your app’s environment with a Dockerfile so it can be reproduced anywhere.

  2. Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.

  3. Run docker-compose up and Compose starts and runs your entire app.

A docker-compose.yml looks like this:

version: '3.5'
services:
  app:
    image: acme.org/project/app
    volumes:
      - app:/var/www/html:delegated
    environment:
       - MYSQL_HOST=db
       - MYSQL_DATABASE=database
       - MYSQL_USER=user
       - MYSQL_PASSWORD=password
  db:
    image: mysql
    environment:
      - MYSQL_HOST=db
      - MYSQL_DATABASE=database
      - MYSQL_USER=user
      - MYSQL_PASSWORD=password
      - MYSQL_ROOT_PASSWORD=root_password
    volumes:
      - ./mnt/database:/var/lib/mysql
    restart: always
  httpd:
    image: nginx
    depends_on:
      - app
    links:
      - phpfpm
    volumes:
      - app:/var/www/html:delegated
    networks:
      - proxy
      - default
    environment:
     - VIRTUAL_HOST={{domain}}
      - LETSENCRYPT_HOST={{domain}}
      - LETSENCRYPT_EMAIL=email@acme.org
    restart: always
  phpfpm:
    image: phpfpm
    depends_on:
      - app
      - db
    links:
      - db:db
    volumes:
      - app:/var/www/html:delegated
    restart: always
networks:
  default:
    driver: "bridge"
  proxy:
    external:
      name: "ssl-proxy"
volumes:
  app:
    driver: local

For more information about the Compose file, see the Compose file reference

Overview of Info.yml

A info.yml looks like this:

id: store id
img: 'data:image/svg+xml;base64,XXXAAAExMiIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDMwMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTE0NC44NTIgOTAuNjd2MTcyLjE5MmwtMTYuOTMzIDEwLjM0OS0xNi45NDYtMTAuNDA0VjkwLjgwM2wtNDMuODc4IDI3LjAxNnYxNDcuMjU1bDYwLjgyNCAzNy4yMTcgNjEuMzM5LTM3LjQ4MlYxMTcuNzI1TDE0NC44NTIgOTAuNjd6TTEyNy45MTkgMEwwIDc3LjUwMnYxNDcuMjc0bDMzLjIyMyAxOS41NzJWOTcuMDZsOTQuNzIyLTU3LjU5NiA5NC44MSA1Ny41MTIuMzkxLjIyMy0uMDQyIDE0Ni45MjlMMjU2IDIyNC43NzZWNzcuNTAyTDEyNy45MTkgMHoiIGZpbGw9IiNFQzY3MzciLz48L3N2Zz4='
description: store description
icon: true
environments:
  docker:
    definition: docker-compose.yml
    template:
      database:
        label: "Database Service (Docker Compose)"
        options:
          external:
            label: "Remote"
            options:
              host: "DB Host"
              database: "DB Name"
              username: "DB Username"
              password:
                - label="DB password"
                - type=password
              port: "DB Port"
          local:
            label: "Local"
      redis:
        label: "Redis Service"
        options:
          external:
            label: "Remote"
            options:
              host: "Redis Host"
              port: "Redis Port"
          local:
            label: "Local"
urls:
  default:
    frontend: '/'
    backend: '/admin'
    backend_sso: '/sso/index/login'
statuses:
  406: 200
  503: 200


These above are just sample files. You can download these files and change the parameters and provide them to us.