Skip to content

Commit

Permalink
Merge remote-tracking branch 'inasafe/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Nov 15, 2017
2 parents 3eff436 + 343bc96 commit f88b741
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ sftp_backup/target/db/*
!sftp_backup/target/db/.gitkeep
backups/*
!backups/*.sh
sftp_backup/.sync/
btsync.env
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ web:
@echo "Running "
@echo "------------------------------------------------------------------"
@DB_PASS=$(PASSWORD) MYSQL_PASS=$(PASSWORD) docker-compose -p $(PROJECT_ID) up -d wordpress
@docker-compose -p $(PROJECT_ID) up -d btsync
dps


Expand Down
4 changes: 4 additions & 0 deletions btsync.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is InaSAFE WebSite data BitSync key
SECRET=
# Change it to easily identify your instance of btsync
DEVICE=InaSAFE-Website
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,13 @@ db:
# This will not work on OSX/Win - comment out for those oses
# See https://github.com/tutumcloud/tutum-docker-mariadb/issues/5
- db:/var/lib/mysql

btsync:
image: kartoza/btsync
hostname: inasafe.org-btsync
volumes:
- ./sftp_backup:/web
env_file:
- ./btsync.env


3 changes: 3 additions & 0 deletions recover-after-space-full.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
docker rm inasafeorg_wordpress_1
make web

0 comments on commit f88b741

Please sign in to comment.