Skip to content

Commit 3328119

Browse files
committed
signoz
1 parent c570721 commit 3328119

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

apps/signoz/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ W9_VERSION="v0.106.0"
55
W9_POWER_PASSWORD="1PrMxExC45LsCT"
66
W9_HTTP_PORT_SET=9001
77
W9_ID=signoz
8-
W9_HTTP_PORT=80
8+
W9_HTTP_PORT=8080
99
W9_DB_EXPOSE=""
1010
W9_URL=internet_ip:$W9_HTTP_PORT_SET
1111
W9_NETWORK=websoft9

apps/signoz/docker-compose.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ services:
6363
options:
6464
max-file: "3"
6565
max-size: 50m
66-
networks:
67-
default:
68-
aliases:
69-
- clickhouse
7066
depends_on:
7167
init-clickhouse:
7268
condition: service_completed_successfully
@@ -108,7 +104,7 @@ services:
108104
max-size: 50m
109105
command:
110106
- sync
111-
- --dsn=tcp://clickhouse:9000
107+
- --dsn=tcp://${W9_ID}-clickhouse:9000
112108
- --up=
113109
depends_on:
114110
clickhouse:
@@ -118,6 +114,8 @@ services:
118114
image: signoz/signoz:${W9_VERSION}
119115
container_name: ${W9_ID}
120116
restart: unless-stopped
117+
env_file:
118+
- .env
121119
logging:
122120
driver: "json-file"
123121
options:
@@ -133,7 +131,7 @@ services:
133131
- sqlite:/var/lib/signoz/
134132
environment:
135133
- SIGNOZ_ALERTMANAGER_PROVIDER=signoz
136-
- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://clickhouse:9000
134+
- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://${W9_ID}-clickhouse:9000
137135
- SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db
138136
- DASHBOARDS_PATH=/root/config/dashboards
139137
- STORAGE=clickhouse
@@ -177,9 +175,9 @@ services:
177175
environment:
178176
- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux
179177
- LOW_CARDINAL_EXCEPTION_GROUPING=false
180-
ports:
181-
- "4317:4317"
182-
- "4318:4318"
178+
# ports:
179+
# - "4317:4317"
180+
# - "4318:4318"
183181
depends_on:
184182
signoz:
185183
condition: service_healthy
@@ -195,7 +193,7 @@ services:
195193
max-size: 50m
196194
command:
197195
- async
198-
- --dsn=tcp://clickhouse:9000
196+
- --dsn=tcp://${W9_ID}-clickhouse:9000
199197
- --up=
200198
depends_on:
201199
clickhouse:

0 commit comments

Comments
 (0)