-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 966 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
42
43
44
version: "3.8"
services:
# Development environment
nmrium-dev:
container_name: nmrium-dev
image: nfdi4chem/nmrium-react-wrapper:dev-latest
restart: unless-stopped
ports:
- "81:80"
networks:
- nmrium-network
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
# Production environment
nmrium-prod:
container_name: nmrium-prod
image: nfdi4chem/nmrium-react-wrapper:latest
restart: unless-stopped
ports:
- "80:80"
networks:
- nmrium-network
environment:
- NODE_ENV=production
- RELEASE_VERSION=latest
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
networks:
nmrium-network:
driver: bridge