Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guoxiangke/d4d
Docker4Drupal
https://github.com/guoxiangke/d4d
Last synced: 28 days ago
JSON representation
Docker4Drupal
- Host: GitHub
- URL: https://github.com/guoxiangke/d4d
- Owner: guoxiangke
- Created: 2017-05-10T08:03:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T10:06:15.000Z (over 7 years ago)
- Last Synced: 2024-11-08T15:25:56.895Z (3 months ago)
- Language: Shell
- Size: 259 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 欢迎使用 d4d (Docker4Drupal)
------
```bash
#Usage:
$ chmod +x ./d4d.sh
$ ./d4d.sh simple #build a simple one
$ ./d4d.sh multi #build with haproxy
```使用的镜像:
> * [drupal:latest](https://hub.docker.com/_/drupal/)
> * [mysql:latest](https://hub.docker.com/_/mysql/)
> * [haproxy:latest](https://hub.docker.com/_/haproxy/)简单构建图:
![简单构建图](https://raw.githubusercontent.com/guoxiangke/d4d/master/struture.png)
```graphLR
A{drupal:latest} -->|volumes && empty CMD| B[WebStorage:storage-drupal]
A -->|Build | C(WebService:web)
B -->| --volumes-from| C(WebService:web)
D{mysql:latest} -->|volumes && empty CMD| E[DBStorage:storage-mysql]
D -->|Build | F(DBService:db)
E -->| --volumes-from| F(DBService:db)
F -->|--link|C(WebService:web)
```Drupal config:
Database name : drupal
Database username : drupal
Database password : drupal
Database Host : dbhost
Database Host Port : 3306