Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
Motivation
When a sidecar service, such as a cron job or processor, operates in conjunction with a database, we would like the ability to attach both the service and the database to the same network. Currently, this option appears to be available only for generic containers.
Proposal
Add another configuration option to options.go that enables setting the network (by name or by reference) and aliases. Alternatively, this feature could be introduced to selected modules as a module-specific configurer.
Proposal
Motivation When a sidecar service, such as a cron job or processor, operates in conjunction with a database, we would like the ability to attach both the service and the database to the same network. Currently, this option appears to be available only for generic containers.
Proposal Add another configuration option to options.go that enables setting the network (by name or by reference) and aliases. Alternatively, this feature could be introduced to selected modules as a module-specific configurer.