mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
31 lines
646 B
YAML
31 lines
646 B
YAML
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
angular:
|
||
|
build:
|
||
|
context: ..
|
||
|
dockerfile: build/Dockerfile
|
||
|
target: dev-angular-build
|
||
|
args:
|
||
|
ENV: dev
|
||
|
command: sh -c "ng serve --host 0.0.0.0"
|
||
|
ports:
|
||
|
- 4200:4200
|
||
|
go:
|
||
|
build:
|
||
|
context: ..
|
||
|
dockerfile: build/Dockerfile
|
||
|
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"
|