-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.88 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.88 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
services:
nginx:
image: nginx:1.28-alpine
ports:
- "80:80"
- "443:443"
environment:
# For production deployment, set USE_SSL=true . Ensure ssl certs are placed in ./docker/nginx/ssl-certs
# directory, replacing cert.txt and key.txt with your own ssl certificate files, keeping the same file name
- USE_SSL=true
volumes:
- ./docker/nginx:/docker/nginx:ro
- ./docker/nginx/nginx-init.sh:/docker-entrypoint.d/nginx-init.sh:ro
cypress:
image: mitrehealthdocker/cypress:latest
platform: linux/amd64
# Uncomment build section below to build a new image from source
# build:
# context: .
# target: prod
volumes:
- cypress-vol:/app/public/data
- ./config/puma.rb:/docker/config/puma.rb
# bind ./app folder to enable reloading app code changes
# - ./app:/app/app
environment:
- MONGO_PORT_27017_TCP_ADDR=mongodb
- MONGO_PORT_27017_TCP_PORT=27017
- CQM_EXECUTION_SERVICE_HOST=cqm-execution-service
# You must set SECRET_KEY_BASE=<128_character_randomly_generated_alphanumeric_string>
# The following SECRET_KEY_BASE is provided as an example
# For production deployment, generate new secret key with `openssl rand -hex 64`
- SECRET_KEY_BASE=insecure_5131595823afbc3e6af90151ea8991fb3fc7d66e2a352f7664e6ef83bf572cfce8669ce542793b1597f3266706e4bc1ae3dee7f9b5023496ac21990
# uncomment RAILS_ENV=development to enable hot reloading of app code changes
# - RAILS_ENV=development
restart: unless-stopped
mongodb:
image: mongo:8.0.9
volumes:
- mongo-data:/data/db
- ./mongo:/etc/mongo
command: --config=/etc/mongo/docker_mongod.conf
restart: unless-stopped
cqm-execution-service:
image: mitrehealthdocker/cqm-execution-service:latest
platform: linux/amd64
restart: unless-stopped
volumes:
cypress-vol:
mongo-data: