forked from prebid/salesagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.example.yml
More file actions
52 lines (42 loc) · 1.62 KB
/
docker-compose.override.example.yml
File metadata and controls
52 lines (42 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Example docker-compose.override.yml for development with test mode
# Copy this to docker-compose.override.yml and uncomment sections as needed
version: '3.8'
services:
admin-ui:
environment:
# Enable test authentication mode for automated testing
# ⚠️ NEVER use this in production!
# - ADCP_AUTH_TEST_MODE=true
# Customize test user credentials (optional - defaults shown)
# - TEST_SUPER_ADMIN_EMAIL=test_super_admin@example.com
# - TEST_SUPER_ADMIN_PASSWORD=test123
# - TEST_TENANT_ADMIN_EMAIL=test_tenant_admin@example.com
# - TEST_TENANT_ADMIN_PASSWORD=test123
# - TEST_TENANT_USER_EMAIL=test_tenant_user@example.com
# - TEST_TENANT_USER_PASSWORD=test123
# Enable Flask debug mode for development
# - FLASK_DEBUG=1
# Skip OAuth setup if you don't have credentials yet
# Test mode will still work without OAuth credentials
# - GOOGLE_CLIENT_ID=test
# - GOOGLE_CLIENT_SECRET=test
# Enable hot reload for development
# volumes:
# - ./templates:/app/templates
# - ./static:/app/static
# - ./src/admin:/app/src/admin
# Expose Flask debugger port
# ports:
# - "5678:5678" # Python debugger port
adcp-server:
environment:
# Development settings
# - PYTHONUNBUFFERED=1
# - LOG_LEVEL=DEBUG
# Enable hot reload for development
# volumes:
# - ./main.py:/app/main.py
# - ./schemas.py:/app/schemas.py
# - ./adapters:/app/adapters
# Example: Running tests with test mode enabled
# docker-compose run --rm -e ADCP_AUTH_TEST_MODE=true admin-ui pytest tests/