mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
- Move quickstart from `utils` to `quickstart` - Update quickstart script to add more container manipulation - Move API functional tests back under `modules/api` - Move build-related scripts to `build/` directory - Add quickstart containers that can run the local version of the code
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
version: "3.5"
|
|
|
|
services:
|
|
ldap:
|
|
container_name: "vinyldns-ldap"
|
|
image: vinyldns/build:openldap
|
|
ports:
|
|
- "19004:19004"
|
|
|
|
integration:
|
|
container_name: "vinyldns-api-integration"
|
|
hostname: &integration_hostname "vinyldns-integration"
|
|
image: "vinyldns/build:base-test-integration-${VINYLDNS_IMAGE_VERSION}"
|
|
build:
|
|
context: ../
|
|
dockerfile: test/api/integration/Dockerfile
|
|
args:
|
|
VINYLDNS_VERSION: "${VINYLDNS_VERSION}"
|
|
environment:
|
|
RUN_SERVICES: "deps-only tail-logs"
|
|
LOCALSTACK_EXT_HOSTNAME: *integration_hostname
|
|
env_file:
|
|
.env
|
|
ports:
|
|
- "19001-19003:19001-19003/tcp"
|
|
- "19001:19001/udp"
|
|
|
|
api:
|
|
container_name: "vinyldns-api"
|
|
image: "vinyldns/api:${VINYLDNS_IMAGE_VERSION}"
|
|
build:
|
|
context: ../
|
|
dockerfile: quickstart/api/Dockerfile
|
|
args:
|
|
VINYLDNS_VERSION: "${VINYLDNS_VERSION}"
|
|
DOCKER_FILE_PATH: "quickstart/api"
|
|
volumes:
|
|
- ./api/application.conf:/opt/vinyldns/conf/vinyldns.conf
|
|
env_file:
|
|
.env
|
|
ports:
|
|
- "9000:9000"
|
|
depends_on:
|
|
- integration
|
|
|
|
portal:
|
|
container_name: "vinyldns-portal"
|
|
image: "vinyldns/portal:${VINYLDNS_IMAGE_VERSION}"
|
|
build:
|
|
context: ../
|
|
dockerfile: quickstart/portal/Dockerfile
|
|
env_file:
|
|
.env
|
|
ports:
|
|
- "${PORTAL_PORT}:${PORTAL_PORT}"
|
|
volumes:
|
|
- ./portal/application.ini:/opt/vinyldns/conf/application.ini
|
|
- ./portal/application.conf:/opt/vinyldns/conf/application.conf
|
|
depends_on:
|
|
- api
|
|
- ldap
|
|
|
|
networks:
|
|
default:
|
|
name: "vinyldns_net"
|