2017-12-29 03:08:19 -05:00
|
|
|
# This file was auto-generated, do not edit it directly.
|
|
|
|
# Instead run bin/update_build_scripts from
|
|
|
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
|
|
|
# Version: 1.0.1
|
|
|
|
|
|
|
|
version: "2"
|
|
|
|
|
|
|
|
services:
|
|
|
|
test_unit:
|
|
|
|
image: node:6.9.5
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
working_dir: /app
|
|
|
|
entrypoint: npm run test:unit
|
|
|
|
|
|
|
|
test_acceptance:
|
|
|
|
image: node:6.9.5
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
environment:
|
|
|
|
REDIS_HOST: redis
|
|
|
|
MONGO_HOST: mongo
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- mongo
|
|
|
|
working_dir: /app
|
|
|
|
entrypoint: npm run test:acceptance
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
image: mongo:3.4
|
|
|
|
|
2018-02-13 07:05:10 -05:00
|
|
|
app:
|
2017-12-29 03:08:19 -05:00
|
|
|
image: gcr.io/henry-terraform-admin/clsi
|
|
|
|
build: .
|
|
|
|
environment:
|
2018-02-13 07:05:10 -05:00
|
|
|
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
2017-12-29 03:08:19 -05:00
|
|
|
TEXLIVE_IMAGE_USER: root # Not ideal, but makes running in dev very simple
|
|
|
|
COMMAND_RUNNER: docker-runner-sharelatex
|
|
|
|
SHARELATEX_CONFIG: /app/config/settings.defaults.coffee
|
|
|
|
COMPILES_HOST_DIR: $PWD/compiles
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- ./docker-runner:/app/node_modules/docker-runner-sharelatex
|
2018-02-13 07:05:10 -05:00
|
|
|
- /Users/henry/Projects/sharelatex-dev-environment/clsi/compiles:/app/compiles
|
2017-12-29 03:08:19 -05:00
|
|
|
ports:
|
|
|
|
- 3013:3013
|