-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yaml
54 lines (50 loc) · 1.49 KB
/
docker-compose.override.yaml
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
services:
ffc-grants-eligibility-checker:
build:
context: .
target: development
depends_on:
- redis
image: ffc-grants-eligibility-checker-development
# platform: ${PLATFORM}
environment:
NODE_ENV: development
USE_REDIS: true
REDIS_HOSTNAME: redis # Use the Docker service name to connect
REDIS_PASSWORD: '' # Add if needed
SESSION_CACHE_TTL: 3600000
ffc-grants-eligibility-checker2:
build:
context: .
target: development
depends_on:
- redis
image: ffc-grants-eligibility-checker-development
# platform: ${PLATFORM}
environment:
NODE_ENV: development
USE_REDIS: true
REDIS_HOSTNAME: redis # Use the Docker service name to connect
REDIS_PASSWORD: '' # Add if needed
REDIS_PARTITION: ffc-grants-eligibility-checker
COOKIE_PASSWORD: thisistestcookiepasswordthisistestcookiepasswordthisistestcookiepassword
SESSION_CACHE_TTL: 3600000
reverse-proxy:
image: nginx:latest
container_name: nginx-proxy
ports:
- '80:80' # Expose port 80 on the host and forward to Nginx
volumes:
- ./nginx.local.conf:/etc/nginx/nginx.conf # Mount your custom Nginx config
- ./nginx_logs:/var/log/nginx # Mount Nginx logs to host machine
depends_on:
- ffc-grants-eligibility-checker
- ffc-grants-eligibility-checker2
redis:
image: redis:latest
volumes:
- redis_data:/data
ports:
- '6383:6379'
volumes:
redis_data: