-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
45 lines (31 loc) · 1.38 KB
/
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
43
44
45
.PHONY: issuer
build: build-acapy build-controller build-tails-server
build-tails-server:
docker-compose build tails-server
build-acapy:
docker-compose build acapy
build-controller:
docker-compose build controller
up:
docker-compose up --force-recreate -d
controller:
docker-compose up --force-recreate --no-deps -d controller
logs:
docker-compose logs -f --tail=100
down:
docker-compose down
up-prod:
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod pull
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod up --force-recreate -d
issuer-prod:
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod pull controller
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod up --force-recreate --no-deps -d controller
acapy-prod:
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod pull acapy
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod up --force-recreate --no-deps -d acapy
logs-remote:
docker-compose --context remote -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod logs -f
push:
docker push ldej/acapy
docker push ldej/controller
docker push ldej/tails-server