# Any way to pass environment variables into gsa container?

**URL:** <https://forum.greenbone.net/t/any-way-to-pass-environment-variables-into-gsa-container/13353>\
**Category:** Community Containers\
**Created:** [October 26, 2022, 6:51pm UTC](https://forum.greenbone.net/t/any-way-to-pass-environment-variables-into-gsa-container/13353 "2022-10-26T18:51:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TreAtW](https://forum.greenbone.net/user_avatar/forum.greenbone.net/treatw/32/2410_2.png) [@TreAtW](https://forum.greenbone.net/u/TreAtW)\
**Post date:** [October 27, 2022, 8:27am UTC](https://forum.greenbone.net/t/any-way-to-pass-environment-variables-into-gsa-container/13353/2 "2022-10-27T08:27:51Z")

</div>

Hello deeemmbee, and welcome to the Greenbone Community Forum. 🙂

You don’t need to pass an environment variable to the GSA container to change the timeout. You can simply add an argument that speicifies the timeout when starting the gsad.service:

- Open a root shell in the gsa container (i.e. `docker exec -ti <ContainerID> bash`)
- Change your directory to `/lib/systemd/system` (`cd /lib/systemd/system`)
- You may need to install an editor like nano or vim (`apt update && apt install nano`)
- In the gsad.service file, append `--timeout=<TimeoutMinutes>` to the line that starts with `ExecStart`
- Save and exit the file
- Restart the gsad service or the whole container, whatever is more convenient to you

More detailed information about the web frontend timeout can be found [here](https://forum.greenbone.net/t/client-web-portal-timeout/696/).

EDIT: In case you want to see all the available options for the gsad service, you can simply run `gsad --help` in the GSA container. 🙂

---

_[View the full topic](https://forum.greenbone.net/t/any-way-to-pass-environment-variables-into-gsa-container/13353)._
