-
Notifications
You must be signed in to change notification settings - Fork 103
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
WIP: production docker images. #36
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
💪 FWIW this is our docker-compose:
|
Oh thanks! This is great stuff.
… On Dec 2, 2019, at 2:54 PM, Itamar Syn-Hershko ***@***.*** ***@***.***>> wrote:
💪
FWIW this is our docker-compose:
version: '3' # on CircleCI the version and services cause build to puke.
services:
mysql:
container_name: quepid_db
image: mysql:5.6.37
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=password
redis:
container_name: quepid_redis
image: redis
ports:
- 6379:6379
app:
container_name: quepid_app
#helpful for quicker dev iterations
#build:
# context: .
# dockerfile: Dockerfile
image: bigdatabotique/quepid:latest
environment:
- PORT=3000
- RACK_ENV=production
- RAILS_ENV=production
- DB_ADAPTER=mysql2
- DB_HOST=mysql
- DB_USERNAME=root
- DB_PASSWORD=password
- DB_NAME=quepid
- REDIS_URL=redis://redis:6379/1 <redis://redis:6379/1>
- FORCE_SSL=false
- MAX_THREADS=2
- WEB_CONCURRENCY=2
- SECRET_KEY_BASE=some_value_needed_here
#helpful for quicker dev iterations
#volumes:
# - .:/srv/app
ports:
- 3000:3000
links:
- mysql
- redis
depends_on:
- mysql
- redis
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#36?email_source=notifications&email_token=AAAFO65YSZP4UX667Y4IBQLQWVRVXA5CNFSM4JUD3A62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUWELY#issuecomment-560554543>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAFO64NG2XYRILLU4MRIALQWVRVXANCNFSM4JUD3A6Q>.
_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
|
…een updates of quepid versions
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is based on a PR that @synhershko opened..
Motivation and Context
Provide better production install steps for Quepid, for folks who want to run it, not build it!
How Has This Been Tested?
So far just manually. Going to set up a Digital Ocean VPS to test out the steps.
Types of changes
Checklist: