From 7794e258445b5eb8394f484d2f3dabddc0329a07 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Sun, 18 Jul 2021 13:48:10 +0300 Subject: [PATCH 1/3] Update cloud server setup --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bee35ef..8a10521 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,17 @@ It is also the base or the RaspsberryPi dedicated distro ## Cloud server - cd src - docker-compose build - docker-compose up -d + mkdir backupfriend-server + cd backupfriend-server + wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml + wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_server + wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf + mv env_server .env + touch rdw.db + sudo docker network create nginx-proxy + sudo docker-compose up -d + + ## Build and run From ed24ed2d124aef5b586245091d6bce0ef988b713 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Sun, 18 Jul 2021 13:53:06 +0300 Subject: [PATCH 2/3] Update instructions --- README.md | 53 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8a10521..5425dd9 100644 --- a/README.md +++ b/README.md @@ -4,31 +4,52 @@ This docker container used as a server-side to sync backups to [backupfriend-cli It is also the base or the RaspsberryPi dedicated distro + +# House to use + +Pick your desiged setup below + ## RaspberryPi +It is recommended to use the pre-built RaspsberryPi image available at [BackupFriendPi](https://github.com/guysoft/BackupFriendPi). +It comes with extra stuff such as automatic mounting of hard drives and an nginx-proxy and has been tested by people. - cd src - docker-compose build - docker-compose up -d +However, if you really want to set this up on an existing Pi, where you have docker and docker-compose already installed, this is how to do it: + + +```sh +mkdir backupfriend-server +cd backupfriend-server +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_raspberrypi +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf +mv env_server .env +touch rdw.db +sudo docker network create nginx-proxy +sudo docker-compose up -d +``` ## Cloud server - mkdir backupfriend-server - cd backupfriend-server - wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml - wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_server - wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf - mv env_server .env - touch rdw.db - sudo docker network create nginx-proxy - sudo docker-compose up -d +```sh +mkdir backupfriend-server +cd backupfriend-server +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_server +wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf +mv env_server .env +touch rdw.db +sudo docker network create nginx-proxy +sudo docker-compose up -d +``` ## Build and run - - cd src - docker-compose build - docker-compose up -d +```sh +cd src +docker-compose build +docker-compose up -d +``` # Containers on docker hub: * [ssh container on Docker Hub](https://hub.docker.com/repository/docker/guysoft/backupfriend-ssh) From b34a10cc818db439fb5a50815afdf4ca534613c9 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Sun, 18 Jul 2021 13:53:59 +0300 Subject: [PATCH 3/3] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5425dd9..b6ebcba 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ It is also the base or the RaspsberryPi dedicated distro # House to use -Pick your desiged setup below +Pick your desired setup below ## RaspberryPi It is recommended to use the pre-built RaspsberryPi image available at [BackupFriendPi](https://github.com/guysoft/BackupFriendPi).