Last active
December 19, 2018 17:10
-
-
Save GCorbel/15c9d86b31a123d8b76ff1dccaefa62b to your computer and use it in GitHub Desktop.
Run with `curl -L https://gist.githubusercontent.com/GCorbel/15c9d86b31a123d8b76ff1dccaefa62b/raw/run.sh | bash`
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
version: '3.5' | |
services: | |
web: | |
image: dimelo/rc-engage:2018-12-19 | |
command: ./docker-files/start.sh | |
working_dir: /app | |
ports: | |
- 5000:3000 | |
environment: | |
- BUNDLE_JOBS=4 | |
- MONGO_HOST=mongo | |
- REDIS_HOST=redis | |
- MEMCACHE_HOST=memcache | |
- ELASTICSEARCH_HOST=elasticsearch | |
- DISABLE_SANITIZE_EMAIL=1 | |
links: | |
- mongo | |
- redis | |
- memcache | |
- elasticsearch | |
networks: | |
- engagementconsole_default | |
mongo: | |
image: mongo:3.4.13 | |
command: mongod --setParameter failIndexKeyTooLong=false | |
volumes: | |
- ./tmp/data/mongo:/data/db | |
networks: | |
- engagementconsole_default | |
redis: | |
image: redis:2.8.17 | |
volumes: | |
- ./tmp/data/redis:/data | |
networks: | |
- engagementconsole_default | |
memcache: | |
image: memcached:1.5-alpine | |
networks: | |
- engagementconsole_default | |
elasticsearch: | |
image: elasticsearch:1.4 | |
networks: | |
- engagementconsole_default | |
networks: | |
engagementconsole_default: | |
name: engagementconsole_default |
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
wget https://gist.githubusercontent.com/GCorbel/15c9d86b31a123d8b76ff1dccaefa62b/raw/docker-compose.yml -O /tmp/docker-compose.yml | |
cd /tmp | |
docker-compose up web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment