mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
Fixes #971 Changes in this pull request: - Remove the module - Update `build.sbt` - Update docs - Update docker things - Update configs everywhere
63 lines
1.2 KiB
YAML
63 lines
1.2 KiB
YAML
version: "3.0"
|
|
services:
|
|
mysql:
|
|
image: "mysql:5.7"
|
|
env_file:
|
|
.env
|
|
container_name: "vinyldns-mysql"
|
|
ports:
|
|
- "19002:3306"
|
|
logging:
|
|
driver: none
|
|
|
|
bind9:
|
|
image: "vinyldns/bind9:0.0.4"
|
|
env_file:
|
|
.env
|
|
container_name: "vinyldns-bind9"
|
|
volumes:
|
|
- ./bind9/etc:/var/cache/bind/config
|
|
- ./bind9/zones:/var/cache/bind/zones
|
|
ports:
|
|
- "19001:53/tcp"
|
|
- "19001:53/udp"
|
|
logging:
|
|
driver: none
|
|
|
|
localstack:
|
|
image: localstack/localstack:0.10.4
|
|
container_name: "vinyldns-localstack"
|
|
ports:
|
|
- "19006:19006"
|
|
- "19007:19007"
|
|
- "19009:19009"
|
|
environment:
|
|
- SERVICES=sns:19006,sqs:19007,route53:19009
|
|
- START_WEB=0
|
|
- HOSTNAME_EXTERNAL=vinyldns-localstack
|
|
|
|
# this file is copied into the target directory to get the jar! won't run in place as is!
|
|
api:
|
|
build:
|
|
context: api
|
|
env_file:
|
|
.env
|
|
container_name: "vinyldns-api"
|
|
ports:
|
|
- "9000:9000"
|
|
depends_on:
|
|
- mysql
|
|
- bind9
|
|
- localstack
|
|
|
|
functest:
|
|
build:
|
|
context: functest
|
|
env_file:
|
|
.env
|
|
environment:
|
|
- PAR_CPU=${PAR_CPU}
|
|
container_name: "vinyldns-functest"
|
|
depends_on:
|
|
- api
|