Skip to content

Commit

Permalink
Marketing site updates
Browse files Browse the repository at this point in the history
- Added make target to bring containers down
- Added volume for all application data
- Added volume for private key to download data from production
  • Loading branch information
Clinton Blackburn authored and clintonb committed Oct 5, 2017
1 parent 433d0b4 commit d5d2694
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose-marketing-site-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ version: "2.1"
services:
marketing:
volumes:
# NOTE: A private key is needed to sync the files and database from production.
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
- ../edx-mktg:/edx/app/edx-mktg/edx-mktg
- ../edx-mktg/docroot:/var/www/html
3 changes: 3 additions & 0 deletions marketing.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
marketing-shell: ## Run a shell on the marketing site container
docker exec -it edx.devstack.marketing env TERM=$(TERM) bash

down-marketing: ## Bring up all services (including the marketing site) with host volumes
docker-compose -f docker-compose.yml -f docker-compose-host.yml -f docker-compose-marketing-site.yml -f docker-compose-marketing-site-host.yml down

up-marketing: ## Bring up all services (including the marketing site) with host volumes
docker-compose -f docker-compose.yml -f docker-compose-host.yml -f docker-compose-marketing-site.yml -f docker-compose-marketing-site-host.yml up

Expand Down

0 comments on commit d5d2694

Please sign in to comment.