Skip to content

Commit 385da27

Browse files
committed
Update rocketadmin-private-microservice configuration for testing environment
1 parent 86bc7e7 commit 385da27

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,17 @@ services:
9595
rocketadmin-private-microservice:
9696
build:
9797
context: ../rocketadmin-saas
98-
dockerfile: ../rocketadmin-saas/Dockerfile
98+
dockerfile: Dockerfile.test
9999
ports:
100100
- 3001:3001
101101
env_file: ../rocketadmin-saas/.env
102+
environment:
103+
# Path to the Go proxy's contract fixture (mounted below). Lets the
104+
# SaaS contract test find it regardless of on-disk layout.
105+
PROXY_CONTRACT_FIXTURE: /contract/fixtures.json
106+
volumes:
107+
# Shared wire-contract source of truth with the Go postgres-proxy.
108+
- ../postgres-proxy/contract:/contract:ro
102109
links:
103110
- backend
104111
- rocketadmin-private-microservice-test-database

0 commit comments

Comments
 (0)