2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
vinyldns/quickstart/docker-compose.yml
Emerle, Ryan a075c3c35e Updates
- Move away from using multiple images for "quickstart" and instead use a single "integration" image which provides all of the dependencies

- Update `docker-up-vinyldns.sh` to support the new `integration` image
- Update `remove-vinyl-containers.sh` to more cleanly.. clean up
- Update `verify.sh` to more reliably run `sbt` targets
- Update `build/docker/api/application.conf` to allow for overrides and default to the `vinyldns-integration` image
- Update `build/docker/portal/application.conf` to allow overrides and use `vinyldns-integration` image
  - Update `build/docker/portal/Dockerfile` to use `vinyldns/build:base-build-portal` to reduce need to download dependencies over and over
- Update `api/assembly` sbt target to output to `assembly` rather than some deeply nested folder in `**/target`
- Update documentation to reflect changes

- Move `docker/` directory to `quickstart/` to reduce confusion with the `build/docker` directory
- Move `bin/` to `utils/` since the files are binaries

- Add `.dockerignore` to root
2021-10-20 09:07:19 -04:00

46 lines
994 B
YAML

version: "3.5"
services:
ldap:
container_name: "vinyldns-ldap"
image: rroemhild/test-openldap
ports:
- "19004:389"
integration:
container_name: "vinyldns-api-integration"
hostname: "vinyldns-integration"
image: "vinyldns-api-integration"
build:
context: ../
dockerfile: test/api/integration/Dockerfile
environment:
RUN_SERVICES: "all tail-logs"
env_file:
.env
ports:
- "9000:9000"
- "19001-19003:19001-19003/tcp"
- "19001:19001/udp"
portal:
container_name: "vinyldns-portal"
image: "vinyldns/portal:${VINYLDNS_VERSION}"
build:
context: ..
dockerfile: ""
env_file:
.env
ports:
- "${PORTAL_PORT}:${PORTAL_PORT}"
volumes:
- ./portal/application.ini:/opt/docker/conf/application.ini
- ./portal/application.conf:/opt/docker/conf/application.conf
depends_on:
- integration
- ldap
networks:
default:
name: "vinyldns_net"