2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
vinyldns/docker/docker-compose.yml
Emerle, Ryan 07b683cbd0 Updates
- Remove old, unused scripts in `bin/`
- Remove old images from release
  - `test` and `test-bind` are no longer necessary. Test images are in a different repo now
- Remove Docker image creation from sbt build config - actual `Dockerfile` files are easier to deal with

- Update scripts in `bin/` to utilize new Docker images
- Update documentation for changes
- Update all Docker Compose and configuration to use exposed ports on the `integration` image (19001, 19002, etc) both inside the container and outside to make testing more consistent irrespective of method
- Update FlywayDB dependency to v8 to fix a weird logging bug that showed up during integration testing. See: https://github.com/flyway/flyway/issues/2270

- Add `test/api/integration` Docker container definition to be used for any integration testing

- Move `module/api/functional_test` to `test/api/functional` to centralize the "integration-type" external tests and testing utilities

- Move functional testing and integration image to the `test/` folder off of the root to reduce confusion with `bin/` and `docker/`
2021-10-15 15:06:04 -04:00

42 lines
807 B
YAML

version: "3.0"
services:
mysql:
image: mysql:5.7<skipPull>
env_file:
.env
ports:
- "19002:3306"
bind9:
image: vinyldns/bind9:0.0.5<skipPull>
env_file:
.env
ports:
- "19001:53/udp"
- "19001:53"
volumes:
- ./bind9/etc:/var/cache/bind/config
- ./bind9/zones:/var/cache/bind/zones
localstack:
image: localstack/localstack:0.10.4<skipPull>
ports:
- "19006:19006"
- "19007:19007"
- "19009:19009"
environment:
- SERVICES=sns:19006,sqs:19007,route53:19009
- START_WEB=0
mail:
image: flaviovs/mock-smtp:0.0.2<skipPull>
ports:
- "19025:25"
volumes:
- ./email:/var/lib/mock-smtp
ldap:
image: rroemhild/test-openldap:latest<skipPull>
ports:
- "19008:389"