From 918ed0cbdbda98a6753a94b12e8b8a5cef6a5e82 Mon Sep 17 00:00:00 2001 From: alexeh Date: Wed, 24 Jul 2024 12:10:21 +0200 Subject: [PATCH 1/3] add missing env var to compose setup --- .env.default | 3 ++- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.default b/.env.default index 415b0b7e..8c0250b3 100644 --- a/.env.default +++ b/.env.default @@ -1,2 +1,3 @@ AUTH_TOKEN= -TIFF_PATH= \ No newline at end of file +TIFF_PATH= +GRID_TILES_PATH= \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index ec74b8c1..a2a36408 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: environment: - AUTH_TOKEN=${AUTH_TOKEN} - TIFF_PATH=${TIFF_PATH} + - GRID_TILES_PATH=${GRID_TILES_PATH} networks: - amazonia360-network restart: From c85eb093b0d3dab919a69fcc97285831469a2e83 Mon Sep 17 00:00:00 2001 From: alexeh Date: Wed, 24 Jul 2024 12:16:09 +0200 Subject: [PATCH 2/3] add env vars for testing flow --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a2a36408..04a015b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,10 @@ services: context: ./api dockerfile: Dockerfile target: development + environment: + - AUTH_TOKEN=secret + - TIFF_PATH=/opt/api/test_data + - GRID_TILES_PATH=/opt/api/test_data/grid networks: - amazonia360-network From 6d4700f1b93ef17f5a008096a10e4f7f9d1ff081 Mon Sep 17 00:00:00 2001 From: alexeh Date: Fri, 2 Aug 2024 09:36:26 +0200 Subject: [PATCH 3/3] remove env vars from service for tests --- docker-compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 04a015b0..a2a36408 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,10 +21,6 @@ services: context: ./api dockerfile: Dockerfile target: development - environment: - - AUTH_TOKEN=secret - - TIFF_PATH=/opt/api/test_data - - GRID_TILES_PATH=/opt/api/test_data/grid networks: - amazonia360-network