updated omv-svc01.yml
This commit is contained in:
parent
5ebca4b835
commit
cc77163ce5
@ -1,5 +1,3 @@
|
|||||||
## the service decription for the svc01 service on the omv host
|
|
||||||
#
|
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
@ -47,6 +45,14 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik-network
|
- traefik-network
|
||||||
#- host-network
|
#- host-network
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1GB
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
command:
|
command:
|
||||||
- --log.level=INFO
|
- --log.level=INFO
|
||||||
- --accessLog
|
- --accessLog
|
||||||
@ -123,7 +129,7 @@ services:
|
|||||||
- traefik.http.services.gitea-service.loadbalancer.server.port=3000
|
- traefik.http.services.gitea-service.loadbalancer.server.port=3000
|
||||||
- traefik.http.services.gitea-service.loadbalancer.sticky.cookie=true
|
- traefik.http.services.gitea-service.loadbalancer.sticky.cookie=true
|
||||||
- traefik.http.services.gitea-service.loadbalancer.sticky.cookie.name=gitea-sticker
|
- traefik.http.services.gitea-service.loadbalancer.sticky.cookie.name=gitea-sticker
|
||||||
- traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.regex=^https://code.miflux.com/code/(diff|fulldiff)/(.*)$
|
- traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.regex=^https://code.miflux.com/code/(fulldiff|diff)/(.*)$
|
||||||
- traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.replacement=https://cpot.miflux.com/code/file/$${2}
|
- traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.replacement=https://cpot.miflux.com/code/file/$${2}
|
||||||
- traefik.http.middlewares.gitea-to-codepot.redirectregex.regex=^https://code.miflux.com/code/(.*)$
|
- traefik.http.middlewares.gitea-to-codepot.redirectregex.regex=^https://code.miflux.com/code/(.*)$
|
||||||
- traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1}
|
- traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1}
|
||||||
@ -148,6 +154,7 @@ services:
|
|||||||
max-file: "5"
|
max-file: "5"
|
||||||
max-size: "5m"
|
max-size: "5m"
|
||||||
deploy:
|
deploy:
|
||||||
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -243,4 +250,3 @@ services:
|
|||||||
memory: 1GB
|
memory: 1GB
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user