Something like this should work (providing that bastion host is reachable
using ssh)   https://github.com/jnovack/autossh - you can find there
example docker-compose with local forward .

On Wed, Aug 18, 2021 at 10:49 PM Anthony Joyce <
[email protected]> wrote:

> Hi all,
>
> We have a bastion host that is on our host computer that allows us to
> access some of our MSSQL databases. From the host, we use an airflow
> connection of localhost:1433/{insert_database_name} to access this database
> for our ETLs.
>
> Can I map this to the container using docker-compose.yml file? If so, how
> would I do that? I’ve done research into it but I’m a little confused on
> the process.
>
> Thanks all!
>
> AJ



-- 
+48 660 796 129

Reply via email to