-
Notifications
You must be signed in to change notification settings - Fork 10
/
compose.yaml
30 lines (28 loc) · 942 Bytes
/
compose.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
services:
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- "redis_data:/data"
coldfusion:
image: adobecoldfusion/coldfusion2021
ports:
- "8500:8500"
environment:
- acceptEULA=YES
- password=123
- configureExternalSessions=true
- externalSessionsHost=redis
- externalSessionsPort=6379
- installModules=redissessionstorage
# importModules can be used instead to point to a file in container holding cfpm export
depends_on:
- redis
volumes:
- ./app:/app
volumes:
redis_data:
# if external: true enabled, then if you have created the volume external to compose, such as with:
# docker volume create redis_data, then the volume will remain available across compose down/up
external: true