2016-08-31 13:43:32 +00:00
|
|
|
#!/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
|
|
|
|
links:
|
|
|
|
- dominant
|
|
|
|
dominant:
|
2017-05-12 09:29:13 +00:00
|
|
|
image: dr.rbkmoney.com/rbkmoney/dominant:e6af73a005779d5714a1d3b9e310a12f69f6fb0c
|
2016-08-31 13:43:32 +00:00
|
|
|
command: /opt/dominant/bin/dominant foreground
|
|
|
|
links:
|
|
|
|
- machinegun
|
|
|
|
machinegun:
|
2017-05-12 09:29:13 +00:00
|
|
|
image: dr.rbkmoney.com/rbkmoney/machinegun:e04e529f4c5682b527d12d73a13a3cf9eb296d4d
|
2016-10-18 21:21:16 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/sys.config:/opt/machinegun/releases/0.1.0/sys.config
|
2016-08-31 13:43:32 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
driver: bridge
|
|
|
|
driver_opts:
|
|
|
|
com.docker.network.enable_ipv6: "true"
|
|
|
|
com.docker.network.bridge.enable_ip_masquerade: "false"
|
|
|
|
EOF
|