Commit 06d2e7a 1 parent 5010281 commit 06d2e7a Copy full SHA for 06d2e7a
File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 4
4
* .dll
5
5
* .so
6
6
* .dylib
7
+ crawler_app
7
8
8
9
# Test binary, built with `go test -c`
9
10
* .test
Original file line number Diff line number Diff line change 1
1
.PHONY : all help setup vet lint deadcode vulncheck tests integration-tests all-tests cover sonarqube-up sonarqube-down sonarqube-analysis fmt compose-ps compose-up compose-down build build-run-api clean doc
2
2
3
- APP_NAME =crawler
3
+ APP_NAME =crawler_app
4
4
5
5
# # help: show this help.
6
6
help :
62
62
63
63
# # compose-ps: list all containers running
64
64
compose-ps :
65
- docker- compose -f build/docker-compose.yml ps
65
+ docker compose -f build/docker-compose.yml ps
66
66
67
67
# # compose-up: start API and dependencies
68
68
compose-up :
69
- docker- compose -f build/docker-compose.yml up -d
69
+ docker compose -f build/docker-compose.yml up -d
70
70
71
71
# # compose-down: stop API and dependencies
72
72
compose-down :
73
- docker- compose -f build/docker-compose.yml down
73
+ docker compose -f build/docker-compose.yml down
74
74
75
75
# # build: create an executable of the application
76
76
build :
Original file line number Diff line number Diff line change 1
1
##### Setup
2
2
3
- FROM golang:1.21 -alpine as setup
3
+ FROM golang:1.22 -alpine as setup
4
4
RUN apk add git make
5
5
6
6
WORKDIR /app
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
17
17
dockerfile : build/Dockerfile_base
18
18
container_name : crawler-api
19
19
command :
20
- - ./crawler
20
+ - ./crawler_app
21
21
- api
22
22
environment :
23
23
LOG_LEVEL : ${LOG_LEVEL}
@@ -57,7 +57,7 @@ services:
57
57
ports :
58
58
- ${PROMETHEUS_PORT}:${PROMETHEUS_PORT}
59
59
volumes :
60
- - /metrics/prometheus:/etc/prometheus
60
+ - .. /metrics/prometheus:/etc/prometheus
61
61
- prometheus-data:/metrics/prometheus
62
62
command : --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
63
63
You can’t perform that action at this time.
0 commit comments