forked from evandiewald/helium-topography
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (35 loc) · 850 Bytes
/
Makefile
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
docker-build-processing:
docker build \
-f Dockerfile.processing \
-t helium-topography-batch-processing .
docker-clean-processing: docker-stop-processing
docker rm batch-processing
docker-start-processing:
docker run -d --init \
--name batch-processing \
--restart unless-stopped \
--cpus 2 \
--memory 3g \
--memory-reservation 2g \
--memory-swap 3g \
helium-topography-batch-processing
docker-stop-processing:
docker stop batch-processing
docker-build-api:
docker build \
-f Dockerfile.api \
-t helium-topography-api .
docker-start-api:
docker run -d --init \
--name api \
--publish 8080:8080 \
--restart unless-stopped \
--cpus 1 \
--memory 3g \
--memory-reservation 2g \
--memory-swap 3g \
helium-topography-api
docker-stop-api:
docker stop api
docker-clean-api: docker-stop-api
docker rm api