Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit 05608f2

Browse files
committed
no longer support docker-sync
1 parent 113cc56 commit 05608f2

File tree

6 files changed

+0
-151
lines changed

6 files changed

+0
-151
lines changed

README.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ download & extract Drupal source code.
5959
$ curl https://ftp.drupal.org/files/projects/drupal-X.Y.Z.tar.gz | tar zx --strip=1 -C volumes/drupal
6060
```
6161

62-
If you use macOS, highly recommend using [docker-sync](https://github.com/EugenMayer/docker-sync/) to avoid [performance problems](https://github.com/docker/for-mac/issues/77). please see [Use docker-sync](#use-docker-sync).
63-
6462
create & start containers.
6563
```bash
6664
$ docker-compose up -d
@@ -142,55 +140,6 @@ $ docker-compose exec php drush sql-cli
142140

143141
Database container is exposing port 3306 on 127.0.0.1. So you can access database in the container from GUI application on Host OS such as [MysqlWorkbench](https://www.mysql.com/products/workbench/), [Sequel Pro](https://www.sequelpro.com/).
144142

145-
### Use docker-sync
146-
147-
If you use macOS, highly recommend installing [docker-sync](https://github.com/EugenMayer/docker-sync/) as follows to avoid [performance problems](https://github.com/docker/for-mac/issues/77).
148-
```bash
149-
$ gem install docker-sync
150-
$ brew install fswatch
151-
```
152-
153-
Also you have to some changes into `docker-compose.override.yml`.
154-
155-
- comment out `volumes_from` block (2 places):
156-
```
157-
# volumes_from:
158-
# - datastore
159-
```
160-
161-
- uncomment `drupal_source` block (2 places):
162-
163-
```
164-
# Replace volume to this to use docker-sync for mac OS users to resolve performance issue.
165-
# See also: https://github.com/docker/for-mac/issues/77
166-
- drupal_source:/var/www/html:rw
167-
```
168-
169-
- uncomment `volumes` block at the bottom
170-
```
171-
volumes:
172-
drupal_source:
173-
external: true
174-
```
175-
176-
Start the synchronization with `docker-sync` command
177-
```bash
178-
$ docker-sync start
179-
```
180-
181-
Finally, start container in new shell.
182-
```bash
183-
$ docker-compose up -d
184-
```
185-
186-
Alternatively, you can also run `docker-sync start` and `docker-compose up` together.
187-
188-
```bash
189-
$ docker-sync-stack start
190-
```
191-
192-
Please see also: https://github.com/EugenMayer/docker-sync/wiki
193-
194143
### Deploy to production environment (example)
195144

196145
You can also deploy this container set to production environment such as Amazon EC2.

README_ja.md

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ Drupalのソースコードをダウンロードして展開します。
6060
$ curl https://ftp.drupal.org/files/projects/drupal-X.Y.Z.tar.gz | tar zx --strip=1 -C volumes/drupal
6161
```
6262

63-
macOSを使っている場合、[パフォーマンスの問題](https://github.com/docker/for-mac/issues/77) を回避するために [docker-sync](https://github.com/EugenMayer/docker-sync/) を利用することを強く推奨します。
64-
[Use docker-sync](#docker-sync-を使う) を参照してください。
65-
6663
コンテナーを生成して起動します。
6764
```bash
6865
$ docker-compose up -d
@@ -144,55 +141,6 @@ $ docker-compose exec php drush sql-cli
144141

145142
データベースコンテナーは 127.0.0.1上でport 3306をlistenします。そのため、[MysqlWorkbench](https://www.mysql.com/products/workbench/)[Sequel Pro](https://www.sequelpro.com/) のようなホストOS上で動作するGUIアプリケーションからコンテナー内のデータベースに接続することができます。
146143

147-
### docker-sync を使う
148-
149-
macOSを使っている場合、[パフォーマンスの問題](https://github.com/docker/for-mac/issues/77) を回避するために [docker-sync](https://github.com/EugenMayer/docker-sync/) を利用することを強く推奨します。次のコマンドでインストールすることができます。
150-
```bash
151-
$ gem install docker-sync
152-
$ brew install fswatch
153-
```
154-
155-
また、docker-sync を使う場合は `docker-compose.override.yml` を少し書き換える必要があります。
156-
157-
- `volumes_from` ブロックをコメントアウトする (2箇所):
158-
```
159-
# volumes_from:
160-
# - datastore
161-
```
162-
163-
- `drupal_source` ブロックのコメントアウトを解除する (2箇所):
164-
165-
```
166-
# Replace volume to this to use docker-sync for mac OS users to resolve performance issue.
167-
# See also: https://github.com/docker/for-mac/issues/77
168-
- drupal_source:/var/www/html:rw
169-
```
170-
171-
- 最下部にある `volumes` ブロックのコメントアウトを解除する
172-
```
173-
volumes:
174-
drupal_source:
175-
external: true
176-
```
177-
178-
`docker-sync` コマンドで同期を開始します。
179-
```bash
180-
$ docker-sync start
181-
```
182-
183-
最後に新しいシェルを立ち上げてコンテナーを起動します。
184-
```bash
185-
$ docker-compose up -d
186-
```
187-
188-
もしくは、`docker-sync start``docker-compose up` を同時に実行することもできます。
189-
190-
```bash
191-
$ docker-sync-stack start
192-
```
193-
194-
詳細は https://github.com/EugenMayer/docker-sync/wiki を参照してください。
195-
196144
### Production環境へのデプロイ (example)
197145

198146
このコンテナーセットは(例えばAmazon EC2のような)Production環境へデプロイすることも出来ます。

large/docker-sync.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

micro/docker-sync.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

small/docker-sync.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

xlarge/docker-sync.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)