mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
* [monorepo] move building of nginx proxy into Makefile * [v1] add fake-secrets.env * [github] add copilot-setup-steps.yml workflow * [make] debug permissions * [monorepo] use the host uid/gid for monorepo service * [web] populate DOCKER_USER for test_frontend_ct * [github] run npm install outside docker in Copilot sandbox * [monorepo] add comment for building nginx-proxy image locally * [monorepo] change uid/gid of node user in cypress image * [monorepo] low-level rewrite of passwd and groups to match host user GitOrigin-RevId: d74a5801f0318bab7e7f460374255426706002a3
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
services:
|
|
sharelatex:
|
|
ports:
|
|
- "127.0.0.1:3231:80"
|
|
environment:
|
|
OVERLEAF_SITE_URL: "http://127.0.0.1:3231"
|
|
|
|
host-admin:
|
|
ports:
|
|
- "127.0.0.1:3232:80"
|
|
environment:
|
|
NATIVE_CYPRESS: "true"
|
|
ACCESS_CONTROL_ALLOW_ORIGIN: "http://127.0.0.1:3231"
|
|
|
|
saml:
|
|
ports:
|
|
- "127.0.0.1:3233:80"
|
|
environment:
|
|
SAML_BASE_URL_PATH: "http://127.0.0.1:3233/simplesaml/"
|
|
SAML_TEST_SP_LOCATION: "http://127.0.0.1:3231/saml/callback"
|
|
|
|
mailtrap:
|
|
ports:
|
|
- "127.0.0.1:3234:80"
|
|
|
|
# For testing "native" on Linux
|
|
cypress:
|
|
build:
|
|
context: ../../dockerfiles/cypress
|
|
args:
|
|
- USER_UID
|
|
- USER_GID
|
|
volumes:
|
|
- ../../:/overleaf
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
- ${XAUTHORITY:-/dev/null}:/home/node/.Xauthority
|
|
working_dir: /overleaf/server-ce/test
|
|
entrypoint: npm
|
|
command: run cypress:open
|
|
environment:
|
|
CI:
|
|
VERBOSE_LOGGING:
|
|
DISPLAY: ${DISPLAY:-:0}
|
|
CYPRESS_BASE_URL:
|
|
CYPRESS_HOST_ADMIN_URL:
|
|
CYPRESS_SAML_URL:
|
|
CYPRESS_MAILTRAP_URL:
|
|
network_mode: host
|