forked from medplum/medplum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
25 lines (25 loc) · 763 Bytes
/
docker-compose.yml
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
# This is the docker-compose file to run Medplum's required background services
# It can be used to quickly run 2 services:
# 1) The Postgres database
# 2) The Redis cache
# You can start all services by running "docker-compose up"
version: '3.7'
services:
postgres:
image: postgres:12
restart: always
environment:
- POSTGRES_USER=medplum
- POSTGRES_PASSWORD=medplum
volumes:
- ./postgres/postgres.conf:/usr/local/etc/postgres/postgres.conf
- ./postgres/:/docker-entrypoint-initdb.d/
command: postgres -c config_file=/usr/local/etc/postgres/postgres.conf
ports:
- '5432:5432'
redis:
image: redis:7
restart: always
command: redis-server --requirepass medplum
ports:
- '6379:6379'