summaryrefslogtreecommitdiff
path: root/docker-compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r--docker-compose.yaml46
1 files changed, 6 insertions, 40 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index c99ab20..6147bd3 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -14,16 +14,10 @@ services:
mock:
image: nginx
cache:
- image: ghcr.io/discordnova/nova/cache
+ image: ghcr.io/discordnova/nova/cache:${TAG:-latest}
restart: always
build:
context: .
- x-bake:
- platforms:
- - linux/amd64
- - linux/arm64/v8
- - linux/arm/v7
-
args:
- COMPONENT=cache
volumes:
@@ -36,18 +30,12 @@ services:
- otelcol
gateway:
- image: ghcr.io/discordnova/nova/gateway
+ image: ghcr.io/discordnova/nova/gateway:${TAG:-latest}
restart: always
build:
context: .
args:
- COMPONENT=gateway
- x-bake:
- platforms:
- - linux/amd64
- - linux/arm64/v8
- - linux/arm/v7
-
volumes:
- ./config/default.yml:/config/default.yml
environment:
@@ -57,18 +45,12 @@ services:
- otelcol
rest:
- image: ghcr.io/discordnova/nova/rest
+ image: ghcr.io/discordnova/nova/rest:${TAG:-latest}
restart: always
build:
context: .
args:
- COMPONENT=rest
- x-bake:
- platforms:
- - linux/amd64
- - linux/arm64/v8
- - linux/arm/v7
-
volumes:
- ./config/default.yml:/config/default.yml
environment:
@@ -81,19 +63,12 @@ services:
- 8090:8090
webhook:
- image: ghcr.io/discordnova/nova/webhook
+ image: ghcr.io/discordnova/nova/webhook:${TAG:-latest}
restart: always
build:
context: .
args:
- - RUST_LOG=debug
- COMPONENT=webhook
- x-bake:
- platforms:
- - linux/amd64
- - linux/arm64/v8
- - linux/arm/v7
-
volumes:
- ./config/default.yml:/config/default.yml
environment:
@@ -105,18 +80,12 @@ services:
- 9002:9000
- 8091:8091
ratelimit:
- image: ghcr.io/discordnova/nova/ratelimit
+ image: ghcr.io/discordnova/nova/ratelimit:${TAG:-latest}
restart: always
build:
context: .
args:
- COMPONENT=ratelimit
- x-bake:
- platforms:
- - linux/amd64
- - linux/arm64/v8
- - linux/arm/v7
-
volumes:
- ./config/default.yml:/config/default.yml
environment:
@@ -144,7 +113,6 @@ services:
memory: 275M
restart: always
ports:
- - "${JAEGER_SERVICE_PORT}:${JAEGER_SERVICE_PORT}" # Jaeger UI
- "4317" # OTLP gRPC default port
environment:
- COLLECTOR_OTLP_ENABLED=true
@@ -158,7 +126,7 @@ services:
- ./otel/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./otel/grafana/provisioning/:/etc/grafana/provisioning/
ports:
- - "${GRAFANA_SERVICE_PORT}:${GRAFANA_SERVICE_PORT}"
+ - "3000:3000"
# OpenTelemetry Collector
otelcol:
@@ -194,5 +162,3 @@ services:
- --web.route-prefix=/
volumes:
- ./otel/prometheus/prometheus-config.yaml:/etc/prometheus/prometheus-config.yaml
- ports:
- - "${PROMETHEUS_SERVICE_PORT}:${PROMETHEUS_SERVICE_PORT}"