mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-20 23:07:33 +00:00
8953353210
* chore: initial version of a devcontainer * test * add make
23 lines
507 B
YAML
23 lines
507 B
YAML
version: '3.8'
|
|
services:
|
|
devcontainer:
|
|
image: mcr.microsoft.com/devcontainers/base:ubuntu
|
|
volumes:
|
|
- ../..:/workspaces:cached
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
network_mode: service:db
|
|
command: sleep infinity
|
|
|
|
db:
|
|
image: postgres:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: postgres
|
|
|
|
volumes:
|
|
postgres-data:
|