mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 01:23:47 -05:00
aa02df7b81
- move setting into clsi.docker namespace - rename the variable for images to allowedImages / ALLOWED_IMAGES - add an additional check for the image name into the DockerRunner Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
version: "2.3"
|
|
|
|
services:
|
|
dev:
|
|
environment:
|
|
ALLOWED_IMAGES: "quay.io/sharelatex/texlive-full:2017.1"
|
|
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
|
TEXLIVE_IMAGE_USER: "tex"
|
|
SHARELATEX_CONFIG: /app/config/settings.defaults.coffee
|
|
DOCKER_RUNNER: "true"
|
|
COMPILES_HOST_DIR: $PWD/compiles
|
|
SYNCTEX_BIN_HOST_PATH: $PWD/bin/synctex
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./compiles:/app/compiles
|
|
- ./cache:/app/cache
|
|
- ./bin/synctex:/app/bin/synctex
|
|
|
|
|
|
ci:
|
|
environment:
|
|
ALLOWED_IMAGES: ${TEXLIVE_IMAGE}
|
|
TEXLIVE_IMAGE: quay.io/sharelatex/texlive-full:2017.1
|
|
TEXLIVE_IMAGE_USER: "tex"
|
|
SHARELATEX_CONFIG: /app/config/settings.defaults.coffee
|
|
DOCKER_RUNNER: "true"
|
|
COMPILES_HOST_DIR: $PWD/compiles
|
|
SYNCTEX_BIN_HOST_PATH: $PWD/bin/synctex
|
|
SQLITE_PATH: /app/compiles/db.sqlite
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
|
- ./compiles:/app/compiles
|
|
- ./cache:/app/cache
|
|
- ./bin/synctex:/app/bin/synctex
|