Created
October 4, 2017 20:37
-
-
Save rbclark/0e488ad33dd17e4f17abcdd42880f338 to your computer and use it in GitHub Desktop.
Cypress Docker-compose.yml
This file contains hidden or 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: '2' | |
services: | |
cypress: | |
image: projectcypress/cypress:release-latest | |
environment: | |
- MONGO_PORT_27017_TCP_ADDR=mongodb | |
- MONGO_PORT_27017_TCP_PORT=27017 | |
ports: | |
- "80:3000" | |
links: | |
- mongodb:mongo | |
env_file: .env-prod | |
restart: unless-stopped | |
volumes: | |
- /home/app/cypress/public/data | |
tmpfs: | |
- /home/app/cypress/tmp:size=2g,uid=9999,gid=9999 | |
mongodb: | |
image: mongo:3.4.5 | |
volumes: | |
- /data/db | |
restart: unless-stopped | |
command: mongod --storageEngine=wiredTiger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment