sıfır kondisyon ui yml eklendi.
This commit is contained in:
parent
f80973d0bb
commit
55bb910f50
40
sifirkondisyon/sifirkondisyon.yml
Normal file
40
sifirkondisyon/sifirkondisyon.yml
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
sifirkondisyon-ui:
|
||||||
|
image: 192.168.1.101:5000/sifirkondisyon-ui:latest
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
update_config:
|
||||||
|
parallelism: 1
|
||||||
|
delay: 10s
|
||||||
|
order: start-first
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 6
|
||||||
|
window: 180s
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.sifirkondisyon-ui.rule=Host(`sifirkondisyon.emrekirman.xyz`)
|
||||||
|
- traefik.http.routers.sifirkondisyon-ui.entrypoints=websecure
|
||||||
|
- traefik.http.routers.sifirkondisyon-ui.tls.certresolver=myresolver
|
||||||
|
- traefik.http.services.sifirkondisyon-ui.loadbalancer.server.port=80
|
||||||
|
- traefik.http.routers.sifirkondisyon-ui.priority=1
|
||||||
|
- traefik.http.routers.sifirkondisyon-ui.service=sifirkondisyon-ui
|
||||||
|
networks:
|
||||||
|
- sifirkondisyon-network
|
||||||
|
- traefik-public
|
||||||
|
networks:
|
||||||
|
traefik-public:
|
||||||
|
external: true
|
||||||
|
sifirkondisyon-network:
|
||||||
|
driver: overlay
|
||||||
|
attachable: true
|
||||||
Loading…
Reference in New Issue
Block a user