forked from devclub-iitd/SingleSignOn
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 909 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 909 Bytes
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
version: '3.4'
services:
database:
image: '${REGISTRY_NAME}mongo:latest'
volumes:
- casidb:/data/db
networks:
- 'internal'
restart: 'unless-stopped'
CASI:
build: .
image: '${REGISTRY_NAME}devclubiitd/casi:0.1'
ports:
- ${PORT}:${PORT}
healthcheck:
test: ['CMD', 'curl', 'http://localhost:${PORT}']
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
restart: 'unless-stopped'
networks:
- 'internal'
- 'reverseproxy'
env_file:
- ./.env
environment:
- VIRTUAL_HOST
- MONGODB_URI_LOCAL
depends_on:
- database
volumes:
casidb:
networks:
reverseproxy:
external:
name: 'reverseproxy'
internal: