testcontainers-go
testcontainers-go copied to clipboard
[Enhancement]: Allow network selection for modules (e.g. postgres)
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.