dominant/docker-compose.yml
ndiezel0 7c026e2973
TD-6: Add Makefile for most development tasks (#3)
* TD-6: Add new CI

* Use wc-* and wdeps-test

* Remove set up of thrift and BEAM in CI

* Check TARGETARCH content

* Change to compose v1

* Try to check arch again

* Add default ARCH and move back to compose v2

* Replace TARGETARCH with BUILDARCH

* Enable Buildkit

* Add rebar3_lint plugin

* Diagnose lint

* Change CI order

* Make wdeps-* work

* Revert some elvis.config changes

* Fix lint

* Parallelize CI

* Change artifact name

* Move plt cache to dialyzer job

* Fix test

* Review fixes

* Use --use-aliases alternative

* Remove echo arch from Dockerfile
2022-01-25 20:45:08 +03:00

29 lines
702 B
YAML

version: '3'
services:
dominant: # Keep in sync with $(SERVICE)
image: $DEV_IMAGE_TAG
build:
dockerfile: Dockerfile.dev
context: .
args:
ERLANG_VERSION: $ERLANG_VERSION
THRIFT_VERSION: $THRIFT_VERSION
volumes:
- .:$PWD
working_dir: $PWD
depends_on:
- machinegun
ports:
- "8022"
command: /sbin/init
machinegun:
image: docker.io/rbkmoney/machinegun:c05a8c18cd4f7966d70b6ad84cac9429cdfe37ae
ports:
- "8022"
command: /opt/machinegun/bin/machinegun foreground
volumes:
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie