diff --git a/.gitignore b/.gitignore index 00f831b..b32220e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ docker-compose.override.yml .composer_cache .env default.vcl -id_rsa \ No newline at end of file +id_rsa +.magento-src \ No newline at end of file diff --git a/bin/update-sources b/bin/update-sources new file mode 100755 index 0000000..681bdc6 --- /dev/null +++ b/bin/update-sources @@ -0,0 +1,2 @@ +#!/bin/bash +docker cp ${COMPOSE_PROJECT_NAME:-sequra}-magento:/var/www/html .magento-src \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 771db95..46030d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ services: - path: ./.env required: false magento: + container_name: ${COMPOSE_PROJECT_NAME:-sequra}-magento image: docker.io/bitnami/magento:${MAGENTO_VERSION:-latest} ports: - "${MAGENTO_HTTP_PORT}:8080"