# Port the container is listening on. Should match the definition of the service in Terraform.
portMappings:
-containerPort:3000
@@ -57,8 +56,14 @@ services:
# ...
```
## Contributing
The CI for the master branch reads the `VERSION` file and creates a new tag `deliveroo/nginx-sidecar:VERSION` if it doesn't already exist. The `VERSION` should be incremented each time changes are made.
### Staging
This repository has a `staging` branch that pushes to a `deliveroo/nginx-sidecar:staging` tag in Docker Hub, to allow changes to be tested before merging and bumping `VERSION`.
## Future
This relies on the legacy `--link` flag of Docker/ECS and requires the `bridged` networking mode.
We'll want to switch to another way of doing this once we have different networking modes available - this is an ongoing area of research for Production Engineering.