Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zaporylie/docker-drupal-utils
https://github.com/zaporylie/docker-drupal-utils
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zaporylie/docker-drupal-utils
- Owner: zaporylie
- License: mit
- Created: 2016-02-25T17:23:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-17T08:01:04.000Z (almost 9 years ago)
- Last Synced: 2024-12-21T16:58:02.027Z (18 days ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Drupal Docker Utils
# Available
## PHPCS
Check current folder against Drupal Coding standards:
```
docker run --rm -ti -v $(pwd):/var/www/html zaporylie/phpcs
```## SSHD
Get access to /var/www/html from another php container:
```
docker run -dP --volumes-from= zaporylie/sshd
```## GIT
### Auto
Automatically discover if repository exists and pull or clone (according to the result)
```
docker run --rm --ti --volumes-from= zaporylie/git
```### Clone
Clone repository to /var/www/html:
```
docker run --rm --ti --volumes-from= zaporylie/git:clone
```### Pull
Pull (fetch + merge) remote repository:
```
docker run --rm --ti --volumes-from= zaporylie/git:pull
```## Backup
Backup public and private folders + database and store in current path:
```
docker run --rm --ti --volumes-from= --link=:db -v $(pwd):/var/backups zaporylie/backup
```