Spryker Docker SDK helps to set up a Docker environment for your Spryker project.
This repository does not contain a specific Dockerfile or Docker Compose files. It contains a tool that prepares those files to match the infrastructure of your Spryker project.
Spryker Docker SDK reads a Deploy file and builds a production-like Docker infrastructure for Spryker accordingly.
The tool is used for:
- Building production-like Docker images.
- Serving as a part of development environment based on Docker.
- Simplifying the process of setting up a local demo of Spryker project.
Note: Run all the commands below from the root directory of your Spryker project.
To install the Docker SDK:
- Fetch Docker SDK tools:
git clone https://github.com/spryker/docker-sdk.git ./docker
Verification: Make sure
docker 18.09.1+
anddocker-compose 1.23+
have been installed.
- Initialize Docker setup:
docker/sdk bootstrap
- Build and run Spryker applications:
docker/sdk up
For installation troubleshooting, see Troubleshooting installation
To start working with Spryker in Docker, see Quick start guide.
For contribution guidelines, see Code contribution guide
Service | Engine | Version(s) | ARM support | Note |
---|---|---|---|---|
database | postgres | 9.6* | ✓ | |
10 | ✓ | |||
11 | ✓ | |||
12 | ✓ | |||
17 | ✓ | |||
mysql | 5.7 | |||
mariadb-10.2 | ✓ | https://endoflife.date/mariadb | ||
mariadb-10.3 | ✓ | https://endoflife.date/mariadb | ||
mariadb-10.4 | ✓ | |||
mariadb-10.5 | ✓ | |||
mariadb-10.6 | ✓ | |||
mariadb-10.11 | ✓ | |||
broker | rabbitmq | 3.7 | ||
3.8 | ✓ | |||
3.9 | ✓ | |||
3.10 | ✓ | |||
3.11 | ✓ | |||
3.12 | ✓ | |||
3.13 | ✓ | |||
session | redis | 5.0* | ✓ | |
redis | 6.2 | ✓ | ||
key_value_store | redis | 5.0* | ✓ | |
redis | 6.2 | ✓ | ||
search | elastic | 5.6* | ✓ | https://www.elastic.co/support/eol |
6.8 | ✓ | https://www.elastic.co/support/eol | ||
7.6 | ✓ | |||
7.10 | ✓ | |||
opensearch | 1.3 | ✓ | ||
scheduler | jenkins | 2.176 | ||
2.305 | ✓ | |||
2.324 | ✓ | |||
2.401 | ✓ | |||
2.442 | ✓ | |||
2.488 | ✓ | |||
webdriver | phantomjs | latest* | ||
chromedriver | latest | ✓ | ||
mail_catcher | mailhog | 1.0 | ✓ | |
swagger | swagger-ui | v3.24 | ✓ | |
kibana | kibana | 5.6* | ✓ | https://www.elastic.co/support/eol |
6.8 | ✓ | https://www.elastic.co/support/eol | ||
7.6 | ✓ | |||
7.10 | ✓ | |||
blackfire | blackfire | latest | ✓ |