-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathcompose.yml.dist
More file actions
117 lines (116 loc) · 3.37 KB
/
compose.yml.dist
File metadata and controls
117 lines (116 loc) · 3.37 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
networks:
flow-php:
driver: bridge
services:
postgres:
image: postgres:18-alpine
container_name: flow-php-postgres
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
networks:
- flow-php
mysql:
image: mysql:8.0.31
container_name: flow-php-mysql
ports:
- 3306:3306
environment:
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
MYSQL_DATABASE: mysql
MYSQL_ROOT_PASSWORD: root
networks:
- flow-php
elasticsearch:
image: elasticsearch:7.17.2
container_name: flow-php-elasticsearch
ports:
- 9200:9200
environment:
- node.name=es01
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
networks:
- flow-php
azurite:
image: mcr.microsoft.com/azure-storage/azurite
container_name: flow-php-azurite
hostname: azurite
restart: always
command: "azurite --loose --blobHost 0.0.0.0 --blobPort 10000 --location /workspace --debug /workspace/debug.log"
environment:
- AZURITE_ACCOUNTS=flowphpaccount01:flowphpkey01
ports:
- 10000:10000
volumes:
- ./var/azurite:/workspace
networks:
- flow-php
redis:
image: redis:latest
container_name: flow-php-redis
ports:
- "6379:6379"
networks:
- flow-php
minio:
image: minio/minio:latest
container_name: flow-php-minio
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- "./var/minio:/data"
networks:
- flow-php
minio-init:
image: minio/mc
container_name: flow-php-minio-init
depends_on:
- minio
entrypoint: >
/bin/sh -c "
until mc alias set flow http://minio:9000 minioadmin minioadmin; do sleep 1; done;
mc mb flow/flowphpbucket01 --ignore-existing;
exit 0;
"
networks:
- flow-php
aspire:
image: mcr.microsoft.com/dotnet/aspire-dashboard:latest
container_name: flow-php-aspire
ports:
- "18888:18888"
- "18889:18889"
environment:
- DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
- ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL=http://0.0.0.0:18889
networks:
- flow-php
otel-collector:
image: otel/opentelemetry-collector-contrib:0.144.0
container_name: flow-php-otel-collector
command: ["--config=/etc/otel-collector-config.yaml"]
ports:
- "4317:4317"
- "4318:4318"
- "8888:8888"
volumes:
- "./docker/otel-collector-config.yaml:/etc/otel-collector-config.yaml:ro"
- "./var/otel:/var/otel"
depends_on:
- aspire
- postgres
- mysql
- redis
networks:
- flow-php