Compare commits

...

11 commits
v1.4.0 ... main

Author SHA1 Message Date
Simon Vieille 92aa6b341f Merge branch 'develop'
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2023-09-29 15:56:20 +02:00
Simon Vieille 1f089236dc
fix ci syntax
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2023-09-29 15:55:59 +02:00
Simon Vieille ee1bc68760
update readme 2023-09-29 15:55:50 +02:00
Simon Vieille 09cd37aa3b
update ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
2023-09-01 09:26:55 +02:00
Simon Vieille 8a11deed01
update build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
2023-09-01 09:14:29 +02:00
Simon Vieille 6c05d9f126 Merge branch 'develop'
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2023-08-03 18:23:04 +02:00
Simon Vieille 5291903718
add build/ in docker ignored files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
2023-08-03 18:22:56 +02:00
Simon Vieille c08af75dc5 Merge branch 'develop'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-03 18:21:24 +02:00
Simon Vieille 174a06e8b5 Merge branch 'develop'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
2023-06-09 11:32:10 +02:00
Simon Vieille 94537e9238 Merge branch 'develop'
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-06-06 22:49:01 +02:00
Simon Vieille 4fee95a165 Merge pull request 'develop' (#1) from develop into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #1
2023-06-06 14:10:45 +02:00
4 changed files with 9 additions and 8 deletions

View file

@ -1,4 +1,4 @@
/capture
/build
/.woodpecker.yml
/.git
/.gitignore

View file

@ -1,9 +1,9 @@
variables:
- &golang "golang:1.19"
- &volumes
- /var/www/html/artifacts/capture/deblan:/artifacts
- /var/www/html/artifacts/deblan/capture:/artifacts
pipeline:
steps:
test:
image: *golang
commands:
@ -14,6 +14,7 @@ pipeline:
volumes: *volumes
commands:
- make
- cp build/* /artifacts
push_release:
image: plugins/gitea-release

View file

@ -1,4 +1,4 @@
FROM golang:1.19 as builder
FROM golang:1.21-bullseye as builder
WORKDIR /src
COPY go.mod go.sum ./
@ -7,7 +7,7 @@ RUN go mod download
COPY . .
RUN BUILD_DIR=/app make
FROM debian:stable-slim
FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates
COPY --from=builder /app/capture-linux-amd64 /usr/bin/capture

View file

@ -19,9 +19,9 @@ docker run -p 9000:9000 -p 9001:9001 deblan/capture -url=https://example.com/ -p
#### Settings
| param | description |
| -------------- | ------------- |
| `-url` | **Required.** Set the url you want to proxy |
| param | description |
| -------------- | ------------- |
| `-url` | **Required.** Set the url you want to proxy |
| `-port` | Set the proxy port. Default: *9000* |
| `-dashboard` | Set the dashboard port. Default: *9001* |
| `-captures` | Set how many captures to show in the dashboard. Default: *16* |