mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 21:10:13 +00:00
Fix docker-compose to use pre-built images for integration tests
The compose file had build: sections which caused docker-compose to build its own tagged images (pulse-test-pulse-test) instead of using the pre-built images (pulse:test, pulse-mock-github:test). Changed to use image: tags to reference the pre-built images. This ensures the PULSE_AUTH_USER and PULSE_AUTH_PASS environment variables are properly applied to the running containers. Related to #695
This commit is contained in:
parent
2e1ef44ecd
commit
f3fa199ff3
1 changed files with 2 additions and 6 deletions
|
|
@ -3,9 +3,7 @@ version: '3.8'
|
|||
services:
|
||||
# Mock GitHub API server for controlled testing
|
||||
mock-github:
|
||||
build:
|
||||
context: ./mock-github-server
|
||||
dockerfile: Dockerfile
|
||||
image: pulse-mock-github:test
|
||||
container_name: pulse-mock-github
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
|
@ -27,9 +25,7 @@ services:
|
|||
|
||||
# Pulse server under test
|
||||
pulse-test:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: Dockerfile
|
||||
image: pulse:test
|
||||
container_name: pulse-test-server
|
||||
ports:
|
||||
- "7655:7655"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue