Skip to content

Commit 6ff5fac

Browse files
committed
added parent dockerfile
1 parent d7deb33 commit 6ff5fac

File tree

47 files changed

+156
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+156
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"2c1d5f03-73e0-4b25-8d3f-4547a614daf1","minID":"ZtBs/wq3BaotoUAb8D6+xA==","maxID":"ZtB7IjsxUXCePzYKeNw9TA==","tenantID":"single-tenant","startTime":"2024-08-29T12:43:43Z","endTime":"2024-08-29T13:44:02Z","totalObjects":9050,"size":1890428,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9512}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"4215d8a3-a718-4e67-91b7-04281ace2c3b","minID":"ZtB7IwI6Duf0d2CnoEItCQ==","maxID":"ZtCJRom3bgWAgL9dD6NMxA==","tenantID":"single-tenant","startTime":"2024-08-29T13:44:03Z","endTime":"2024-08-29T14:44:23Z","totalObjects":9051,"size":1887826,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9512}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"889bd7b7-bc20-496f-bec2-e409589c377d","minID":"ZtAmTGZ5aaUsIcSVeChp6w==","maxID":"ZtA0bu7vdcSVyYK6Tj4i1g==","tenantID":"single-tenant","startTime":"2024-08-29T07:42:04Z","endTime":"2024-08-29T08:42:22Z","totalObjects":8572,"size":1831990,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9544}

api-gateway/docker/tempo/tempo-data/blocks/single-tenant/8f4753b5-3ce0-4e8c-9600-2b419dd39f16/meta.compacted.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"adb4d7ab-6048-4872-9bd4-35f06ca0c98a","minID":"ZtBCk9RsGUCS3/AKXC+QAw==","maxID":"ZtBQtrSaQe++xHNuDkZmvA==","tenantID":"single-tenant","startTime":"2024-08-29T09:42:43Z","endTime":"2024-08-29T10:43:02Z","totalObjects":9049,"size":1887681,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9512}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"b3235ed8-13a0-41c1-a927-7b91c4c6fa73","minID":"ZtBQtiO0qkmb32oOvTWxZQ==","maxID":"ZtBe2ojYJJmP05sUvMU0eQ==","tenantID":"single-tenant","startTime":"2024-08-29T10:43:02Z","endTime":"2024-08-29T11:43:22Z","totalObjects":9051,"size":1886073,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9512}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"d07f8063-70ca-43e6-9e07-83ae794b5655","minID":"ZtBe27bTm2+leVrUOEnwqQ==","maxID":"ZtBs/mH2o44WxZ2xCp5Vrw==","tenantID":"single-tenant","startTime":"2024-08-29T11:43:23Z","endTime":"2024-08-29T12:43:42Z","totalObjects":9050,"size":1893905,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9512}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"dd82c529-d8ba-4baf-943b-38bcdf443b84","minID":"ZtA0bwlAYvJ6aZZF9Y8xMQ==","maxID":"ZtBCkj+BY1l4dldTNxtEcA==","tenantID":"single-tenant","startTime":"2024-08-29T08:42:23Z","endTime":"2024-08-29T09:42:43Z","totalObjects":7087,"size":1482051,"compactionLevel":1,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9415}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"e00e23c1-5cd7-44d9-ae5a-de405ab2ac7e","minID":"ZtCCNXPbIpqIPC9sf97LzQ==","maxID":"ZtCJRom3bgWAgL9dD6NMxA==","tenantID":"single-tenant","startTime":"2024-08-29T14:14:13Z","endTime":"2024-08-29T14:44:23Z","totalObjects":4526,"size":952425,"compactionLevel":0,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9286}

api-gateway/docker/tempo/tempo-data/blocks/single-tenant/ee1bf1fe-a053-48d6-b757-8924693cd0ff/meta.compacted.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"format":"vParquet2","blockID":"fa2e3d3f-a796-4467-b710-c0132b385477","minID":"ZtCJRxzIXj3bfwTGflLXZA==","maxID":"ZtCQWLS966XX4QBMYSFyfQ==","tenantID":"single-tenant","startTime":"2024-08-29T14:44:23Z","endTime":"2024-08-29T15:14:32Z","totalObjects":4524,"size":954394,"compactionLevel":0,"encoding":"none","indexPageSize":0,"totalRecords":1,"dataEncoding":"","bloomShards":1,"footerSize":9286}
Binary file not shown.

docker-compose.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
services:
2+
mongodb:
3+
image: mongo:latest
4+
container_name: mongodb
5+
ports:
6+
- "27017:27017"
7+
environment:
8+
MONGO_INITDB_ROOT_USERNAME: root
9+
MONGO_INITDB_ROOT_PASSWORD: password
10+
MONGO_INITDB_DATABASE: product-service
11+
volumes:
12+
- ./data:/data/db
13+
14+
mysql:
15+
image: mysql:latest
16+
container_name: mysql_inventory
17+
ports:
18+
- "3316:3306"
19+
environment:
20+
MYSQL_ROOT_PASSWORD: mysql
21+
volumes:
22+
# - ./mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
23+
- ./docker/mysql/data:/var/lib/mysql
24+
- ./docker/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
25+
26+
zookeeper:
27+
image: confluentinc/cp-zookeeper:7.5.0
28+
hostname: zookeeper
29+
container_name: zookeeper
30+
ports:
31+
- "2181:2181"
32+
environment:
33+
ZOOKEEPER_CLIENT_PORT: 2181
34+
ZOOKEEPER_TICK_TIME: 2000
35+
36+
broker:
37+
image: confluentinc/cp-kafka:7.5.0
38+
container_name: broker
39+
ports:
40+
- "9092:9092"
41+
- "29092:29092"
42+
depends_on:
43+
- zookeeper
44+
environment:
45+
KAFKA_BROKER_ID: 1
46+
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
47+
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
48+
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:29092,PLAINTEXT_HOST://localhost:9092
49+
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
50+
51+
schema-registry:
52+
image: confluentinc/cp-schema-registry:7.5.0
53+
hostname: schema-registry
54+
container_name: schema-registry
55+
depends_on:
56+
- broker
57+
ports:
58+
- "8085:8081"
59+
environment:
60+
SCHEMA_REGISTRY_HOST_NAME: schema-registry
61+
SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: 'broker:29092'
62+
SCHEMA_REGISTRY_LISTENERS: http://schema-registry:8081
63+
64+
kafka-ui:
65+
container_name: kafka-ui
66+
image: provectuslabs/kafka-ui:latest
67+
ports:
68+
- "8086:8080"
69+
depends_on:
70+
- broker
71+
environment:
72+
KAFKA_CLUSTERS_NAME: local
73+
KAFKA_CLUSTERS_BOOTSTRAPSERVERS: broker:29092
74+
# KAFKA_CLUSTERS_SCHEMAREGISTRY: http://schema-registry:8081
75+
DYNAMIC_CONFIG_ENABLED: 'true'
76+
77+
keycloak-mysql:
78+
container_name: keycloak-mysql
79+
image: mysql:latest
80+
volumes:
81+
- ./volume-data/mysql_keycloak_data:/var/lib/mysql
82+
environment:
83+
MYSQL_ROOT_PASSWORD: root
84+
MYSQL_DATABASE: keycloak
85+
MYSQL_USER: keycloak
86+
MYSQL_PASSWORD: password
87+
88+
keycloak:
89+
container_name: keycloak
90+
image: quay.io/keycloak/keycloak:24.0.1
91+
command: [ "start-dev", "--import-realm" ]
92+
environment:
93+
DB_VENDOR: MYSQL
94+
DB_ADDR: mysql
95+
DB_DATABASE: keycloak
96+
DB_USER: keycloak
97+
DB_PASSWORD: password
98+
KEYCLOAK_ADMIN: admin
99+
KEYCLOAK_ADMIN_PASSWORD: admin
100+
ports:
101+
- "8181:8080"
102+
volumes:
103+
- ./docker/keycloak/realms/:/opt/keycloak/data/import/
104+
depends_on:
105+
- keycloak-mysql
106+
107+
loki:
108+
image: grafana/loki:main
109+
container_name: loki
110+
command: [ '-config.file=/etc/loki/local-config.yaml' ]
111+
ports:
112+
- '3100:3100'
113+
114+
prometheus:
115+
image: prom/prometheus:v2.46.0
116+
container_name: loki
117+
command:
118+
- --enable-feature=exemplar-storage
119+
- --config.file=/etc/prometheus/prometheus.yml
120+
volumes:
121+
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
122+
ports:
123+
- '9090:9090'
124+
125+
tempo:
126+
image: grafana/tempo:2.2.2
127+
container_name: tempo
128+
command: [ '-config.file=/etc/tempo.yaml' ]
129+
volumes:
130+
- ./docker/tempo/tempo.yml:/etc/tempo.yaml:ro
131+
- ./docker/tempo/tempo-data:/tmp/tempo
132+
ports:
133+
- '3110:3100' # Tempo
134+
- '9411:9411' # zipkin
135+
136+
grafana:
137+
image: grafana/grafana:10.1.0
138+
container_name: grafana
139+
volumes:
140+
- ./docker/grafana:/etc/grafana/provisioning/datasources:ro
141+
environment:
142+
- GF_AUTH_ANONYMOUS_ENABLED=true
143+
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
144+
- GF_AUTH_DISABLE_LOGIN_FORM=true
145+
ports:
146+
- '3000:3000'
0 Bytes
Binary file not shown.

order-service/mysql/binlog.000012

1.87 KB
Binary file not shown.

order-service/mysql/ibdata1

0 Bytes
Binary file not shown.

order-service/mysql/mysql.ibd

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

order-service/mysql/undo_001

0 Bytes
Binary file not shown.

order-service/mysql/undo_002

0 Bytes
Binary file not shown.

product-service/data/WiredTiger.turtle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ WiredTiger 11.2.0: (November 10, 2022)
33
WiredTiger version
44
major=11,minor=2,patch=0
55
file:WiredTiger.wt
6-
access_pattern_hint=none,allocation_size=4KB,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none,write_timestamp=off),block_allocation=best,block_compressor=,cache_resident=false,checksum=on,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_image_max=0,memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,readonly=false,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,tiered_object=false,tiered_storage=(auth_token=,bucket=,bucket_prefix=,cache_directory=,local_retention=300,name=,object_target_size=0),value_format=S,verbose=[],version=(major=1,minor=1),write_timestamp_usage=none,checkpoint=(WiredTigerCheckpoint.10645=(addr="018981e47a0c1be68a81e4a3c69f3e8b81e46978a1d2808080e3010fc0e23fc0",order=10645,time=1724918176,size=28672,newest_start_durable_ts=0,oldest_start_ts=0,newest_txn=114,newest_stop_durable_ts=0,newest_stop_ts=-1,newest_stop_txn=-11,prepare=0,write_gen=31929,run_write_gen=31603)),checkpoint_backup_info=,checkpoint_lsn=(12,87168)
6+
access_pattern_hint=none,allocation_size=4KB,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none,write_timestamp=off),block_allocation=best,block_compressor=,cache_resident=false,checksum=on,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_image_max=0,memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,readonly=false,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,tiered_object=false,tiered_storage=(auth_token=,bucket=,bucket_prefix=,cache_directory=,local_retention=300,name=,object_target_size=0),value_format=S,verbose=[],version=(major=1,minor=1),write_timestamp_usage=none,checkpoint=(WiredTigerCheckpoint.11108=(addr="018081e495649d0f8181e4cbd61c158281e47238eed6808080e3010fc0e23fc0",order=11108,time=1724946062,size=28672,newest_start_durable_ts=0,oldest_start_ts=0,newest_txn=577,newest_stop_durable_ts=0,newest_stop_ts=-1,newest_stop_txn=-11,prepare=0,write_gen=33318,run_write_gen=31603)),checkpoint_backup_info=,checkpoint_lsn=(12,442752)

product-service/data/WiredTiger.wt

0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)