overleaf/services/clsi/docker-compose.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

# 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
app:
image: gcr.io/henry-terraform-admin/clsi
build: .
environment:
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
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
- /Users/henry/Projects/sharelatex-dev-environment/clsi/compiles:/app/compiles
ports:
- 3013:3013