Code Monkey home page Code Monkey logo

shopizer-docker-compose's Introduction

shopizer-aws-lightsail

docker-compose aws

docker-compose-gcp

Shopizer running on AWS Lightsail, the easiest way to quickstart an instance of Shopizer on AWS

  • In AWS Console
    • Create new LightSail instance
    • Select bloeprint OS Only
      • select Ubuntu server from the list, last version available is preferable
      • click on 'Add launch script' and copy content of lightsail-install.sh in the text box
      • select an instance plan for a 4GB server (requires running the server, mysql and elastic)
      • ssh key pair create new
      • give a name to keypair (ie shopizer-lightsail)
      • download key and save pem file to a secure location
      • if you are on a mac or linux change mode on downloaded key file chmod 400 shopizer-lightsail.pem
      • create unique instance name (ie shopizer-docker-compose)
      • add key value tage Name = shopizer-docker-compose
      • click create instance

Creation process takes a while, instance status will indicate 'Running' when ready Change firewall rules

  • remove http port 80
  • add Custom TCP port 8080

Download docker-compose.yml

curl -LJO https://raw.githubusercontent.com/shopizer-ecommerce/shopizer-docker-compose/master/docker-compose-aws.yml
mv docker-compose-aws.yml docker-compose.yml

cd to folder containing newly download pem file

scp -i shopizer-lightsail.pem docker-compose.yml ubuntu@<IP ADDRESS>:/home/ubuntu
ssh -i shopizer-lightsail.pem ubuntu@<IP ADDRESS>
sudo su - root
cp /home/ubuntu/docker-compose.yml /srv/docker/
cd /srv/docker

Start docker compose

sudo docker-compose -f /srv/docker/docker-compose.yml up -d

shopizer-docker-compose's People

Contributors

shopizer-ecommerce avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.