- Docker and Docker Compose
- Expose token, follow instruction here: https://expose.beyondco.de/docs/introduction to get a token
- Clone the repository:
git clone https://github.com/MultiSafepay/drupal-commerce-2.git
- Copy the example env file and make the required configuration changes in the .env file:
cp .env.example .env
- EXPOSE_HOST can be set to the expose server to connect to
- APP_SUBDOMAIN replace the
-xx
indrupal-commerce-2-dev-xx
with a number for exampledrupal-commerce-2-dev-05
- EXPOSE_TOKEN must be filled in`
- GITHUB_TOKEN must be filled in`
-
In the
docker-compose.yml
file replace the name of the container with the name'your-url'
with theAPP_SUBDOMAIN
and theEXPOSE_HOST
-
In the
docker-compose.yml
in the expose container. within theentrypoint
and thedepends-on
. replace theyour-url
with the newly named container in the step above -
(optional) if needed. fill in the GitHub token in the commented line in the
Dockerfile
-
Start the Docker containers
docker-compose up -d