Skip to content

Commit

Permalink
Fix docker compose for dogfooding
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Sep 13, 2023
1 parent 21aecfb commit dda79e3
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
version: "3.2"
services:
# tracetest:
# restart: unless-stopped
# image: kubeshop/tracetest:${TAG:-latest}
# extra_hosts:
# - "host.docker.internal:host-gateway"
# build:
# context: .
# volumes:
# - type: bind
# source: ./local-config/tracetest.config.yaml
# target: /app/tracetest.yaml
# - type: bind
# source: ./local-config/tracetest.provision.yaml
# target: /app/provisioning.yaml
# ports:
# - 11633:11633
# command: --provisioning-file /app/provisioning.yaml
# healthcheck:
# test: ["CMD", "wget", "--spider", "localhost:11633"]
# interval: 1s
# timeout: 3s
# retries: 60
# depends_on:
# postgres:
# condition: service_healthy
# environment:
# TRACETEST_DEV: ${TRACETEST_DEV}
tracetest:
restart: unless-stopped
image: kubeshop/tracetest:${TAG:-latest}
extra_hosts:
- "host.docker.internal:host-gateway"
build:
context: .
volumes:
- type: bind
source: ./local-config/tracetest.config.yaml
target: /app/tracetest.yaml
- type: bind
source: ./local-config/tracetest.provision.yaml
target: /app/provisioning.yaml
ports:
- 11633:11633
command: --provisioning-file /app/provisioning.yaml
healthcheck:
test: ["CMD", "wget", "--spider", "localhost:11633"]
interval: 1s
timeout: 3s
retries: 60
depends_on:
postgres:
condition: service_healthy
environment:
TRACETEST_DEV: ${TRACETEST_DEV}

postgres:
image: postgres:14
Expand Down Expand Up @@ -54,5 +54,5 @@ services:
- "/otel-local-config.yaml"
volumes:
- ./local-config/collector.config.yaml:/otel-local-config.yaml
# depends_on:
# - tracetest
depends_on:
- tracetest

0 comments on commit dda79e3

Please sign in to comment.