Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mailcatcher from optional utils #83

Merged
merged 1 commit into from
Feb 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
COMPOSE_PROJECT_NAME=microkube
COMPOSE_FILE=compose/app.yaml:compose/backend.yaml:compose/gateway.yaml:compose/proxy.yaml:compose/daemons.yaml:compose/frontend.yaml:compose/utils.yaml:compose/cryptonodes.yaml
COMPOSE_FILE=compose/app.yaml:compose/backend.yaml:compose/gateway.yaml:compose/proxy.yaml:compose/daemons.yaml:compose/frontend.yaml:compose/cryptonodes.yaml
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ The components included in the stack are:
- `backend` - [Vault](https://www.vaultproject.io), [MySQL](https://www.mysql.com), [Redis](https://redis.io) and [RabbitMQ](https://www.rabbitmq.com) grouped together
- `cryptonodes` - cryptocurrency nodes such as [Geth](https://github.com/ethereum/go-ethereum) **[Optional]**
- `daemons` - Peatio daemons and Ranger **[Optional]**
- `utils` - utilities such as [Mailcatcher](https://mailcatcher.me/) **[Optional]**
- `setup` - setup hooks for Peatio and Barong to run before the application starts(DB migration etc.)
- `app` - [Peatio](https://github.com/rubykube/peatio), [Barong](https://github.com/rubykube/barong) and the [Ambassador](https://www.getambassador.io) API gateway
- `frontend` - the frontend application located at `vendor/frontend`
Expand Down
6 changes: 3 additions & 3 deletions lib/tasks/service.rake
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,18 @@ namespace :service do
@switch.call(args, method(:start), method(:stop))
end

desc '[Optional] Run utils (mailcatcher, postmaster)'
desc '[Optional] Run utils (postmaster)'
task :utils, [:command] do |task, args|
args.with_defaults(:command => 'start')

def start
puts '----- Starting utils -----'
sh 'docker-compose up -d mailcatcher postmaster'
sh 'docker-compose up -d postmaster'
end

def stop
puts '----- Stopping Utils -----'
sh 'docker-compose rm -fs mailcatcher postmaster'
sh 'docker-compose rm -fs postmaster'
end

@switch.call(args, method(:start), method(:stop))
Expand Down
9 changes: 0 additions & 9 deletions templates/compose/utils.yaml.erb

This file was deleted.