mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
mount app as volume in docker container for local tests
change to overrides
This commit is contained in:
parent
ece0540318
commit
c0058ac720
2 changed files with 18 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
version: "2"
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
base:
|
dev:
|
||||||
environment:
|
environment:
|
||||||
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
||||||
TEXLIVE_IMAGE_USER: root
|
TEXLIVE_IMAGE_USER: root
|
||||||
|
@ -12,3 +12,15 @@ services:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./docker-runner:/app/node_modules/docker-runner-sharelatex
|
- ./docker-runner:/app/node_modules/docker-runner-sharelatex
|
||||||
- ./compiles:/app/compiles
|
- ./compiles:/app/compiles
|
||||||
|
|
||||||
|
ci:
|
||||||
|
environment:
|
||||||
|
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
||||||
|
TEXLIVE_IMAGE_USER: root
|
||||||
|
SHARELATEX_CONFIG: /app/config/settings.defaults.coffee
|
||||||
|
COMMAND_RUNNER: docker-runner-sharelatex
|
||||||
|
COMPILES_HOST_DIR: $PWD/compiles
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ./docker-runner:/app/node_modules/docker-runner-sharelatex
|
||||||
|
- ./compiles:/app/compiles
|
|
@ -15,9 +15,12 @@ services:
|
||||||
|
|
||||||
test_acceptance:
|
test_acceptance:
|
||||||
build: .
|
build: .
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
working_dir: /app
|
||||||
extends:
|
extends:
|
||||||
file: base.yml
|
file: docker-compose-overrides.yml
|
||||||
service: base
|
service: dev
|
||||||
environment:
|
environment:
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
MONGO_HOST: mongo
|
MONGO_HOST: mongo
|
||||||
|
|
Loading…
Reference in a new issue