-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 785 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 785 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
up:
@echo "➡️ Configure postgres & migrates"
docker-compose up configure
@echo "➡️ Infrastructure is started and configured"
@echo "➡️ Done"
setup:
docker-compose up --detach --force-recreate --renew-anon-volumes --remove-orphans postgres
@echo "➡️ Wait 10 seconds to start the infrastructure (pg)"
sleep 10
@echo "➡️ Rebuild configure service"
docker-compose build --force-rm configure
initial-setup-ssl:
@echo "➡️ Primary setup SSL (once for domain)"
docker-compose up -d certbot
rerun-ssl:
@echo "➡️ TODO"
run-proxy:
@echo "➡️ Launch reverse-proxy"
docker-compose up -d webserver443
run-docker: up
docker-compose up -d --build semdict-server
down:
docker-compose down --volumes --remove-orphans
run-local: up
go run ./main.go