42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
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.docker.network=traefik-public
|
|
- traefik.http.routers.sifirkondisyon-ui.rule=Host(`sifirkondisyon.emrekirman.com`)
|
|
- traefik.http.routers.sifirkondisyon-ui.entrypoints=websecure
|
|
- traefik.http.routers.sifirkondisyon-ui.tls.certresolver=myresolver
|
|
- traefik.http.services.sifirkondisyon-ui.loadbalancer.server.port=3000
|
|
- 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
|