diff --git a/docker-compose.override.yml b/docker-compose.override.yml index faf8024a0f..fe97731db9 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -25,6 +25,8 @@ services: dockerfile: "./scripts/docker/Dockerfile.frontend" args: - TM_APP_API_URL=http://localhost/api + - TM_IMPORT_MAX_FILESIZE=1000000 + - TM_MAX_AOI_AREA=5000 volumes: - ".:/usr/src/app" labels: diff --git a/scripts/docker/Dockerfile.frontend b/scripts/docker/Dockerfile.frontend index 8da10d7d9b..a08208343b 100644 --- a/scripts/docker/Dockerfile.frontend +++ b/scripts/docker/Dockerfile.frontend @@ -7,6 +7,8 @@ COPY frontend . RUN npm install ARG TM_APP_API_URL=http://localhost/api +ARG TM_IMPORT_MAX_FILESIZE=1000000 +ARG TM_MAX_AOI_AREA=5000 # SERVE RUN npm run build diff --git a/scripts/docker/Dockerfile.frontend_development b/scripts/docker/Dockerfile.frontend_development index 27d36d87bd..175e81f79d 100644 --- a/scripts/docker/Dockerfile.frontend_development +++ b/scripts/docker/Dockerfile.frontend_development @@ -20,6 +20,8 @@ COPY --from=base /usr/src/app/frontend /usr/src/app RUN npm install ARG TM_APP_API_URL=http://localhost/api +ARG TM_IMPORT_MAX_FILESIZE=1000000 +ARG TM_MAX_AOI_AREA=5000 # SERVE CMD ["npm", "start"]