-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
55 lines (46 loc) · 1.3 KB
/
docker-compose.test.yml
File metadata and controls
55 lines (46 loc) · 1.3 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
53
54
55
# Docker Compose configuration for running Firefly III test instance
# This is used for integration testing of LamPyrid
services:
# Firefly III application
firefly-app:
image: fireflyiii/core:latest
container_name: firefly_iii_test_app
restart: unless-stopped
environment:
# Application environment
- APP_ENV=testing
# Database configuration
- DB_CONNECTION=sqlite
# Application configuration
- APP_KEY=SomeRandomStringOf32CharsExactly
- APP_URL=http://localhost:8080
- TRUSTED_PROXIES=**
# Disable unnecessary features for testing
- SEND_REGISTRATION_MAIL=false
- SEND_ERROR_MESSAGE=false
- SEND_REPORT_JOURNALS=false
- ENABLE_EXTERNAL_MAP=false
- ENABLE_EXTERNAL_RATES=false
# Logging
- APP_LOG_LEVEL=debug
- LOG_CHANNEL=stack
# Demo mode disabled
- IS_DEMO_SITE=false
# Cache and session
- CACHE_DRIVER=file
- SESSION_DRIVER=file
# Mail (disabled for testing)
- MAIL_MAILER=log
ports:
- "8080:8080"
networks:
- firefly_test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
networks:
firefly_test:
driver: bridge