2020-11-17 08:33:07 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
angular:
|
|
|
|
build:
|
|
|
|
context: ..
|
2020-11-17 19:55:41 +00:00
|
|
|
dockerfile: build/dockerfile
|
2020-11-17 08:33:07 +00:00
|
|
|
target: dev-angular-build
|
|
|
|
args:
|
|
|
|
ENV: dev
|
|
|
|
command: sh -c "ng serve --host 0.0.0.0"
|
|
|
|
ports:
|
|
|
|
- 4200:4200
|
|
|
|
go:
|
|
|
|
build:
|
|
|
|
context: ..
|
2020-11-17 19:55:41 +00:00
|
|
|
dockerfile: build/dockerfile
|
2020-11-17 08:33:07 +00:00
|
|
|
target: dev-go-build
|
|
|
|
args:
|
|
|
|
ENV: dev
|
|
|
|
command: go run cmd/zitadel/main.go
|
|
|
|
ports:
|
|
|
|
- 50000:50000
|
|
|
|
db:
|
|
|
|
image: cockroachdb/cockroach:v20.2.0
|
|
|
|
command: start-single-node --insecure
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
- 26257:26257
|
|
|
|
volumes:
|
|
|
|
- "../cockroach-data/zitadel1:/cockroach/cockroach-data"
|