Skip to content

Commit

Permalink
First info on Docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-laemmer authored Jan 15, 2021
1 parent 33a5646 commit ae7df6a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@ php craft copy/db/from-file filename
Note that there are also similar Craft CLI commands for this: `php craft backup/db` and `php craft restore/db`.


### Using Craft Copy in Docker environments

You may want to run Craft Copy with in a Docker container. You will need the following installed inside the container:

- mysqldump
- mysql (client)
- ssh (client)
- Access to the SSH keys you saved with your fortrabbit Account - for example like [so](https://medium.com/trabe/use-your-local-ssh-keys-inside-a-docker-container-ea1d117515dc)



## How it works

With fortrabbit you can already use Git to deploy code without any extras or plugins. When deploying code by Git Composer also is getting triggered. Craft Copy enhances on that by adding support for files that are excluded from Git such as assets in volumes, folders and database contents.
Expand Down

0 comments on commit ae7df6a

Please sign in to comment.