mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
version: "3.0"
|
|
services:
|
|
mysql:
|
|
image: "mysql:5.7"
|
|
container_name: "vinyldns-mysql"
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=pass # do not use quotes around the environment variables!!!
|
|
- MYSQL_ROOT_HOST=% # this is required as mysql is currently locked down to localhost
|
|
ports:
|
|
- "3306:3306"
|
|
|
|
dynamodb:
|
|
image: "cnadiminti/dynamodb-local:2017-02-16"
|
|
container_name: "vinyldns-dynamodb"
|
|
ports:
|
|
- "19000:8000"
|
|
|
|
bind9:
|
|
image: "vinyldns/bind9:0.0.1"
|
|
container_name: "vinyldns-bind9"
|
|
volumes:
|
|
- ./bind9/etc:/var/cache/bind/config
|
|
- ./bind9/zones:/var/cache/bind/zones
|
|
ports:
|
|
- "19001:53/tcp"
|
|
- "19001:53/udp"
|
|
|
|
elasticmq:
|
|
image: s12v/elasticmq:0.13.8
|
|
container_name: "vinyldns-elasticmq"
|
|
ports:
|
|
- "9324:9324"
|
|
volumes:
|
|
- ./elasticmq/custom.conf:/etc/elasticmq/elasticmq.conf
|
|
|
|
# this file is copied into the target directory to get the jar! won't run in place as is!
|
|
api:
|
|
build:
|
|
context: api
|
|
environment:
|
|
- REST_PORT=9000
|
|
container_name: "vinyldns-api"
|
|
ports:
|
|
- "9000:9000"
|
|
depends_on:
|
|
- mysql
|
|
- bind9
|
|
- elasticmq
|
|
- dynamodb
|
|
|
|
functest:
|
|
build:
|
|
context: functest
|
|
container_name: "vinyldns-functest"
|
|
depends_on:
|
|
- api
|