refactor: use docker compose recommendations (#5854)

Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
This commit is contained in:
Lucas Fernando Cardoso Nunes
2024-02-04 10:22:40 -03:00
committed by GitHub
parent 49a5e74283
commit af2f4af8a2
4 changed files with 2 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
version: '2.2'
services:
redash:
build: ../

View File

@@ -1,4 +1,3 @@
version: "2.2"
x-redash-service: &redash-service
build:
context: ../

View File

@@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-22.04
needs: backend-lint
env:
COMPOSE_FILE: .ci/docker-compose.ci.yml
COMPOSE_FILE: .ci/compose.ci.yaml
COMPOSE_PROJECT_NAME: redash
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
@@ -127,7 +127,7 @@ jobs:
runs-on: ubuntu-22.04
needs: frontend-lint
env:
COMPOSE_FILE: .ci/docker-compose.cypress.yml
COMPOSE_FILE: .ci/compose.cypress.yaml
COMPOSE_PROJECT_NAME: cypress
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1

View File

@@ -1,6 +1,5 @@
# This configuration file is for the **development** setup.
# For a production example please refer to getredash/setup repository on GitHub.
version: "2.2"
x-redash-service: &redash-service
build:
context: .