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"
|
||||
|
||||
volumes:
|
||||
@ -47,6 +45,14 @@ services:
|
||||
networks:
|
||||
- traefik-network
|
||||
#- host-network
|
||||
deploy:
|
||||
mode: global
|
||||
|
||||
resources:
|
||||
limits:
|
||||
memory: 1GB
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
command:
|
||||
- --log.level=INFO
|
||||
- --accessLog
|
||||
@ -123,7 +129,7 @@ services:
|
||||
- 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.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.redirectregex.regex=^https://code.miflux.com/code/(.*)$
|
||||
- traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1}
|
||||
@ -148,6 +154,7 @@ services:
|
||||
max-file: "5"
|
||||
max-size: "5m"
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
@ -243,4 +250,3 @@ services:
|
||||
memory: 1GB
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user