-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
47 lines (45 loc) · 1.46 KB
/
docker-compose.test.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3.4'
services:
sut:
image: netreconlab/parse-sut:latest
links:
- parse
depends_on:
- parse
parse:
image: netreconlab/parse-hipaa:netrecon
environment:
PARSE_SERVER_APPLICATION_ID: E036A0C5-6829-4B40-9B3B-3E05F6DF32B2
PARSE_SERVER_MASTER_KEY: E2466756-93CF-4C05-BA44-FF5D9C34E99F
PARSE_SERVER_OBJECT_ID_SIZE: 32
PARSE_SERVER_DATABASE_URI: postgres://${PG_PARSE_USER}:${PG_PARSE_PASSWORD}@db:5432/${PG_PARSE_DB}
PORT: ${PORT}
PARSE_SERVER_MOUNT_PATH: /parse
PARSE_SERVER_URL: http://parse:${PORT}/parse
PARSE_PUBLIC_SERVER_URL: http://localhost:${PORT}/parse
PARSE_SERVER_CLOUD: /parse-server/cloud/main.js
PARSE_SERVER_MOUNT_GRAPHQL: 1
PARSE_USING_PARSECAREKIT: 0 #If you are not using ParseCareKit, set this to 0
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- ${PORT}:${PORT}
volumes:
- ../scripts/wait-for-postgres.sh:/parse-server/wait-for-postgres.sh
restart: always
command: ["./wait-for-postgres.sh", "db", "node", "index.js"]
links:
- db
depends_on:
- db
db:
image: netreconlab/hipaa-postgres:12-3.0
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PG_PARSE_USER: ${PG_PARSE_USER}
PG_PARSE_PASSWORD: ${PG_PARSE_PASSWORD}
PG_PARSE_DB: ${PG_PARSE_DB}
restart: always
scan:
build:
context: .
dockerfile: Dockerfile