Skip to content

Commit

Permalink
Script to get sources from the container
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Oct 28, 2024
1 parent 42388ad commit 284113b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ docker-compose.override.yml
.composer_cache
.env
default.vcl
id_rsa
id_rsa
.magento-src
2 changes: 2 additions & 0 deletions bin/update-sources
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker cp ${COMPOSE_PROJECT_NAME:-sequra}-magento:/var/www/html .magento-src
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 284113b

Please sign in to comment.