Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions docker-compose.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,29 @@
# Usage: docker compose -f docker-compose.yaml -f docker-compose.test.yaml --profile test <command>

services:
# reset fixed names and host ports so test stacks can coexist
# dependencies communicate over the compose project network
postgres:
container_name: !reset null
ports: !reset []
volumes: !reset []

osprey-kafka:
container_name: !reset null
ports: !reset []

minio:
container_name: !reset null
ports: !reset []
Comment thread
cassidyjames marked this conversation as resolved.
volumes: !reset []

snowflake-id-worker:
container_name: !reset null
ports: !reset []

etcd:
container_name: etcd
container_name: !reset null
image: quay.io/coreos/etcd:v3.4.18
ports:
- "127.0.0.1:2379:2379"
environment:
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
Expand All @@ -38,7 +49,6 @@ services:
restart: unless-stopped

test_runner:
container_name: osprey_test_runner
build:
context: .
dockerfile: osprey_worker/Dockerfile
Expand Down
Loading