mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
37 lines
634 B
YAML
37 lines
634 B
YAML
version: "2"
|
|
|
|
volumes:
|
|
node_modules:
|
|
|
|
services:
|
|
npm:
|
|
extends:
|
|
file: docker-shared.yml
|
|
service: app
|
|
command: npm install
|
|
|
|
test_unit:
|
|
extends:
|
|
file: docker-shared.yml
|
|
service: app
|
|
command: npm run test:unit
|
|
|
|
test_acceptance:
|
|
extends:
|
|
file: docker-shared.yml
|
|
service: app
|
|
environment:
|
|
REDIS_HOST: redis
|
|
MONGO_URL: "mongodb://mongo/sharelatex"
|
|
SHARELATEX_ALLOW_PUBLIC_ACCESS: 'true'
|
|
PROJECT_HISTORY_ENABLED: 'true'
|
|
depends_on:
|
|
- redis
|
|
- mongo
|
|
command: npm run start
|
|
|
|
redis:
|
|
image: redis
|
|
|
|
mongo:
|
|
image: mongo:3.4.6
|