dominant/docker-compose.sh
Igor Savchuk 2872e3a1f0 Split dominant (#3)
* split dominant to three repos

* fix submodule name

* new jenkins

* fix wc_release

* fix trailing space

* fix permissions

* fix path in dockerfile

* fix cmd

* fix release

* fix mg api

* fix the rest

* update dmt_core

* MG-16: Migrate to the new machinegun proto

* Fix some bugs involving cold cache access
* Harden the test suite
* Ensure proper woody context flow

* MG-16: Fix dialyzer warnings

* MG-16: Attempt to hack around docker-compose network connectivity quirks

* MG-16: Remove unused files

* MG-16: Mention potential race condition in the TODO list
2016-09-07 22:43:14 +03:00

28 lines
604 B
Bash
Executable File

#!/bin/bash
cat <<EOF
version: '2'
services:
${SERVICE_NAME}:
image: ${BUILD_IMAGE}
volumes:
- .:$PWD
- $HOME/.cache:/home/$UNAME/.cache
working_dir: $PWD
command: /sbin/init
depends_on:
- machinegun
machinegun:
image: dr.rbkmoney.com/rbkmoney/machinegun:6a63173edec1aae1d4ee23f441307c598aea91f0
volumes:
- ./test/machinegun/sys.config:/opt/machinegun/releases/0.1.0/sys.config
networks:
default:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "true"
com.docker.network.bridge.enable_ip_masquerade: "false"
EOF