Comments (6)
@mauleyzaola Actually the config was production ubuntu config. I just updated it to works in mac as well.
Can you pull the master and try again ?
Don't forget to run: mkdir -p ~/datadrive/mysql && mkdir -p ~/datadrive/data/redis
from email-dashboard.
😄
from email-dashboard.
I can see you've already updated the README to point to my home instead of the /
path. Thanks will give it another try.
from email-dashboard.
Not there yet. Have you guys tested this actually works on a Mac environment?
Email-Dashboard$ docker-compose run web rake db:migrate
Result
Creating volume "email-dashboard_datadrive" with default driver
Pulling db (mysql:5.7)...
5.7: Pulling from library/mysql
802b00ed6f79: Pull complete
30f19a05b898: Pull complete
3e43303be5e9: Pull complete
94b281824ae2: Pull complete
51eb397095b1: Pull complete
54567da6fdf0: Pull complete
bc57ddb85cce: Pull complete
c7c0a9c25d8a: Pull complete
cce6c47ac3fc: Pull complete
499b9c7376c8: Pull complete
6c5e08e005ea: Pull complete
Digest: sha256:1d8f471c7e2929ee1e2bfbc1d16fc8afccd2e070afed24805487e726ce601a6d
Status: Downloaded newer image for mysql:5.7
Pulling redis (redis:alpine)...
alpine: Pulling from library/redis
4fe2ade4980c: Pull complete
fb758dc2e038: Pull complete
989f7b0c858b: Pull complete
d5318f13abaa: Pull complete
3521559474dd: Pull complete
af5d048338ef: Pull complete
Digest: sha256:fc78e96c8036b6fa69ce8d4e811ba84b9278e772047a93fb6d5549de4ddecc32
Status: Downloaded newer image for redis:alpine
Creating email-dashboard_db_1 ... done
Creating email-dashboard_redis_1 ... done
rake aborted!
Mysql2::Error: Can't connect to MySQL server on 'db' (113)
/usr/local/bundle/gems/mysql2-0.4.10/lib/mysql2/client.rb:89:in `connect'
/usr/local/bundle/gems/mysql2-0.4.10/lib/mysql2/client.rb:89:in `initialize'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `new'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `mysql2_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:88:in `connection'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/schema_migration.rb:20:in `table_exists?'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/schema_migration.rb:24:in `create_table'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/migration.rb:1125:in `initialize'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/migration.rb:1007:in `new'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/migration.rb:1007:in `up'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/migration.rb:985:in `migrate'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:171:in `migrate'
/usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/bugsnag-6.2.0/lib/bugsnag/integrations/rake.rb:16:in `execute_with_bugsnag'
/usr/local/bundle/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Email-Dashboard$ docker-compose up
Pulling nginx-proxy (jwilder/nginx-proxy:)...
latest: Pulling from jwilder/nginx-proxy
be8881be8156: Pull complete
b4babd36efe5: Pull complete
f4eba7658e18: Pull complete
fc141716ac64: Pull complete
87b964c68304: Pull complete
d07092114f4c: Pull complete
5092b1e0c1da: Pull complete
d90a3596290d: Pull complete
5ca9f664a671: Pull complete
eb9b93208683: Pull complete
Digest: sha256:e869d7aea7c5d4bae95c42267d22c913c46afd2dd8113ebe2a24423926ba1fff
Status: Downloaded newer image for jwilder/nginx-proxy:latest
email-dashboard_redis_1 is up-to-date
email-dashboard_db_1 is up-to-date
Creating email-dashboard_nginx-proxy_1 ... done
Creating email-dashboard_web_1 ... done
ERROR: for api Container "2a365f400560" is unhealthy.
ERROR: Encountered errors while bringing up the project.
Contents of .env
file
SECRET_KEY_BASE=3ed1a403c0556528640b6eefe5c0a692fd88db7c92e8f69cacade6a6cf96fecc1e60c2b1aa2283471564fb2c5f0a3be08b8f0ded78803c38f37257596420bc7a
GIN_MODE=release
MYSQL_ROOT_PASSWORD=
MYSQL_USER=root
MYSQL_PASSWORD=
APP_DOMAIN=mauleyzaola.com
from email-dashboard.
Alright, I have to write different doc for osx.
from email-dashboard.
@mauleyzaola the docs just updated and tested on osx. Thanks for the issue.
Now you just have to follow this:
- Clean old runs:
sudo docker stop $(sudo docker ps -aq)
sudo docker rm $(sudo docker ps -aq)
- Pull the repo again
- Enable mocOS config in
docker-compose.yml
- Finally run:
sudo docker-compose build
sudo docker-compose run web rake db:migrate
sudo docker-compose up -d
from email-dashboard.
Related Issues (20)
- Unable to create new accounts!!
- Chinese Translations of README HOT 1
- Some activities stuck in pending HOT 1
- Rails localization HOT 1
- Development Guide & Installation script
- getting issues 503 for nginx HOT 6
- Suggestion / request: use Dependabot to keep dependencies up-to-date
- Unable to load application: HOT 1
- Git Sync For Templates
- cant build app uisng docker-compose HOT 1
- Add attachment support
- Member roles
- Template versioning
- Filter for activities
- Go GraphQL create activity by mutation HOT 1
- Error while build HOT 1
- Demo site down HOT 2
- 503 Service Temporarily Unavailable nginx/1.17.3 HOT 1
- docker-compose build failed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from email-dashboard.