Commit 47e18029 by Clinton Blackburn

Revert "Added Support for Docker Sync"

This reverts commit 19096d41.
parent 19096d41
......@@ -55,31 +55,6 @@ For example to access the Catalog/Course Discovery Service, you can run:
$ make devstack.open.discovery
```
### Docker Sync
Docker for Mac has known filesystem issues that significantly decrease performance. In order to mitigate these issues,
we use [Docker Sync](https://github.com/EugenMayer/docker-sync/wiki) to synchronize file data from the host machine to
the containers. Follow the steps below to setup Docker Sync.
1. Ensure all containers are stopped.
```
$ make devstack.stop
```
2. Follow the installation instructions at https://github.com/EugenMayer/docker-sync/wiki to install Docker Sync.
3. Run Docker Sync. This will be a separate process, so feel free to run this in a separate terminal window. Note that
you may see errors about permissions on `node_modules` sub-directories. These can be safely ignored.
```
$ docker-sync start
```
4. Start devstack.
```
$ make devstack.start
```
## Usernames and Passwords
The provisioning script creates a Django superuser for every service.
......
version: "2.1"
services:
credentials:
volumes:
- credentials-sync:/edx/app/credentials/credentials:rw
discovery:
volumes:
- discovery-sync:/edx/app/discovery/discovery:rw
ecommerce:
volumes:
- ecommerce-sync:/edx/app/ecommerce/ecommerce:rw
edxapp:
volumes:
- credentials-sync:/edx/app/edxapp/edx-platform:rw
volumes:
credentials-sync:
external: true
discovery-sync:
external: true
ecommerce-sync:
external: true
edxapp-sync:
external: true
......@@ -66,6 +66,8 @@ services:
image: edxops/credentials:devstack
ports:
- "18150:18150"
volumes:
- ../credentials:/edx/app/credentials/credentials
discovery:
command: /edx/app/discovery/devstack.sh start
......@@ -80,6 +82,8 @@ services:
image: edxops/discovery:devstack
ports:
- "18381:18381"
volumes:
- ../course-discovery:/edx/app/discovery/discovery
ecommerce:
command: /edx/app/ecommerce/devstack.sh start
......@@ -93,6 +97,8 @@ services:
image: edxops/ecommerce:devstack
ports:
- "18130:18130"
volumes:
- ../ecommerce:/edx/app/ecommerce/ecommerce
edxapp:
command: /edx/app/edxapp/devstack.sh start
......@@ -105,6 +111,8 @@ services:
ports:
- "18000:18000"
- "18010:18010"
volumes:
- ../edx-platform:/edx/app/edxapp/edx-platform
volumes:
elasticsearch_data:
......
version: "2"
syncs:
credentials-sync:
src: '../credentials/'
dest: '/edx/app/credentials/credentials'
sync_host_ip: 'localhost'
sync_host_port: 10872
sync_strategy: 'rsync'
discovery-sync:
src: '../course-discovery/'
dest: '/edx/app/discovery/discovery'
sync_host_ip: 'localhost'
sync_host_port: 10873
sync_strategy: 'rsync'
ecommerce-sync:
src: '../ecommerce/'
dest: '/edx/app/ecommerce/ecommerce'
sync_host_ip: 'localhost'
sync_host_port: 10874
sync_strategy: 'rsync'
edxapp-sync:
src: '../edx-platform/'
dest: '/edx/app/edxapp/edx-platform'
sync_host_ip: 'localhost'
sync_host_port: 10875
sync_strategy: 'rsync'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment