-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
singularity-compose.yml
48 lines (47 loc) · 1.73 KB
/
singularity-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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "2.0"
instances:
parse:
image: oras://ghcr.io/netreconlab/parse-hipaa:latest
ports:
- 1337:1337
volumes:
- ./scripts/wait-for-postgres.sh:/parse-server/wait-for-postgres.sh
- ./parse/index.js:/parse-server/index.js
- ./parse/cloud:/parse-server/cloud
- ./files:/parse-server/files # All files uploaded from users are stored to an ecrypted drive locally for HIPAA compliance
start:
- fakeroot
exec:
options:
- "env-file=general.env"
command: ./wait-for-postgres.sh db node index.js
depends_on:
- db
db:
image: oras://ghcr.io/netreconlab/hipaa-postgres:latest
ports:
- 5432:5432
start:
- fakeroot
exec:
options:
- "env-file=general.env"
command: postgres -c shared_preload_libraries=pgaudit
# Uncomment volumes below to persist postgres data. Make sure to change directory to store data locally
# volumes:
# - /My/Encrypted/Drive/data:/var/lib/postgresql/data #Mount your own drive
# - /My/Encrypted/Drive/archivedir:/var/lib/postgresql/archivedir #Mount your own drive
#dashboard:
# image: oras://ghcr.io/parseplatform/parse-hipaa-dashboard:latest
# start:
# - fakeroot
# exec:
# options:
# - "env-file=dashboard.env"
# command: node /parse-hipaa-dashboard/index.js
# volumes:
# - ./dashboard/parse-dashboard-config.json:/parse-hipaa-dashboard/lib/parse-dashboard-config.json
# ports:
# - 4040:4040
# depends_on:
# - parse