Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Run Sylius e-commerce platform (based on Symfony 3) with Docker Compose.

License

Notifications You must be signed in to change notification settings

elliotjreed/sylius-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sylius on Docker Compose

Run Sylius e-commerce platform (based on Symfony 3) with Docker Compose.

New Sylius Project

To create a new Sylius project just run the command below with the following settings:

Database Host: mysql

Database Port: 3306

Database Name: sylius

Database Username: sylius

Database Password: sylius

wget http://getcomposer.org/composer.phar
php composer.phar create-project -s beta sylius/sylius-standard sylius
cd sylius
git clone https://github.com/elliotjreed/sylius-docker-compose.git docker
cd docker
docker-compose up -d

You can then run the necessary sylius:install and yarn commands to initialise your Sylius install by running the following:

docker-compose exec php initialise-sylius

You then access the container with:

docker-compose exec php

Note: you'll be in the Sylius root directory (/var/www/html) by default.

You can get the IP address of the Sylius Docker container using the following:

docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' php

About

Run Sylius e-commerce platform (based on Symfony 3) with Docker Compose.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages