-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
75 lines (66 loc) · 1.51 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3'
services:
private:
build:
dockerfile: ./docker/private.Dockerfile
context: .
volumes:
- ./packages/private:/app/packages/private
ports:
- 8081:8081
public:
build:
dockerfile: ./docker/public.Dockerfile
context: .
volumes:
- ./packages/public:/app/packages/public
ports:
- 8082:8082
cerbos:
image: ghcr.io/cerbos/cerbos:latest
command: ["server", "--config=/data/config.yaml"]
ports:
- 3592:3592 # grpc
- 3593:3593 # http
volumes:
- ./cerbos:/data
postgres:
image: postgres:15
volumes:
- ./data/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres -d postgres -q
interval: 3s
start_period: 2m0s
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: main
minio:
container_name: Minio
command: server /minio/data --console-address ":9001"
environment:
- MINIO_ROOT_USER=asdf
- MINIO_ROOT_PASSWORD=asdfasdf
image: quay.io/minio/minio:latest
ports:
- '9000:9000'
- '9001:9001'
volumes:
- ./data/minio:/minio/data
mailhog:
image: mailhog/mailhog
container_name: 'mailhog'
ports:
- "1025:1025"
- "8025:8025"
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: asdf
MONGO_INITDB_ROOT_PASSWORD: asdfasdf