mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user