Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
name: ssw590-manual-runner
|
||||
services:
|
||||
runner:
|
||||
image: docker.io/gitea/runner@sha256:66d80966792e621c9761c47919644198d35fd1c297e9a01e69ed3c1ae37db0c7
|
||||
container_name: ssw590-manual-runner
|
||||
working_dir: /data
|
||||
entrypoint: ["gitea-runner"]
|
||||
command: ["--config", "/config.yaml", "daemon"]
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 70s
|
||||
environment:
|
||||
GOMEMLIMIT: 128MiB
|
||||
volumes:
|
||||
- runner-data:/data
|
||||
- ./config.yaml:/config.yaml:ro
|
||||
- ./admission-check.sh:/admission-check.sh:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
mem_limit: 192m
|
||||
memswap_limit: 256m
|
||||
cpus: 0.25
|
||||
pids_limit: 128
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
cap_drop: ["ALL"]
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
volumes:
|
||||
runner-data:
|
||||
external: true
|
||||
name: ssw590-local-runner-data
|
||||
Reference in New Issue
Block a user