diff --git a/.gitignore b/.gitignore index de4d1f0..d14eab8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dist node_modules +.env \ No newline at end of file diff --git a/README.md b/README.md index 2a21d76..09f70d2 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ You are also requested to not remove attribution and donation information from f Tests are done with Selenium (Helium Python package) -Simply run the tests with ./run-tests.sh and if no errors spit out and the exit code is 0, it passed. +Simply run the tests with ./run-tests.sh and if no errors spit out and the exit code is 0, it passed. Set environment variables for the tests in a .env file ## Support diff --git a/docker-compose-tests.yml b/docker-compose-tests.yml index e66c203..5dbbd52 100644 --- a/docker-compose-tests.yml +++ b/docker-compose-tests.yml @@ -2,6 +2,15 @@ services: rimgu: build: . network_mode: host + environment: + - RIMGU_PORT + - RIMGU_HOST + - RIMGU_ADDRESS + - RIMGU_HTTP_PROXY + - RIMGU_HTTPS_PROXY + - RIMGU_IMGUR_CLIENT_ID + - RIMGU_USE_API="false" + - RIMGU_PAGE_TITLE selenium: depends_on: - "rimgu"