summaryrefslogtreecommitdiffstats
path: root/cypress/docker-compose.yml
blob: d5a466ba5d5dc5b82cc0bb0b2ef1d7af1614b39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: '3.7'

services:
    nextcloud:
        image: ghcr.io/nextcloud/continuous-integration-shallow-server

        ports:
            - 8082:80

        environment:
            CYPRESS_baseUrl: "http://127.0.0.1:8082/index.php"
            BRANCH: "${BRANCH:-master}"

        volumes:
            # Using fallback to make sure this script doesn't mess
            # with the mounting if APP_NAME is not provided.
            - ../:/var/www/html/apps/${APP_NAME:-social}
            - ./initserver.sh:/initserver.sh