generated from Templates/Baseline
OCram85
d80b583252
#### 📖 Summary - adding 3 examples - adding example docs #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] CI pipeline tests - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #13
36 lines
628 B
YAML
36 lines
628 B
YAML
version: "3.8"
|
|
|
|
networks:
|
|
egress:
|
|
attachable: true
|
|
backend:
|
|
internal: true
|
|
|
|
services:
|
|
swarmproxy:
|
|
image: gitea.ocram85.com/ocram85/swarmproxy:latest
|
|
deploy:
|
|
replicas: 1
|
|
environment:
|
|
- LOGLEVEL=Info
|
|
networks:
|
|
egress:
|
|
aliases:
|
|
- proxy
|
|
|
|
curl:
|
|
image: curlimages/curl:8.1.2
|
|
command: ["-I", "-x", "proxy:8888", "https://google.com"]
|
|
depends_on:
|
|
- swarmproxy
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
delay: 10s
|
|
max_attempts: 5
|
|
window: 120s
|
|
networks:
|
|
- backend
|
|
- egress
|