Skip to content

Commit

Permalink
Merge pull request #71 from lnls-sirius/add-ivu-corrs-services-erico
Browse files Browse the repository at this point in the history
Fix IVU corrector services.
  • Loading branch information
ericonr authored Oct 23, 2024
2 parents 71a7e6d + ffe7406 commit 150fe87
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
88 changes: 88 additions & 0 deletions services/docker-stack-si-ps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,50 @@ services:
networks:
- ioc-network

corrs-sb-ia08:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
- "dips"
command: bash -c '/ioc-apps/si-ps-corrs-sb-ia08.bash'
volumes:
- "/storage/common/fac/iocs-log:/home/sirius/iocs-log"
deploy:
placement:
constraints:
- node.hostname == IA-18RaDiag04-CO-IOCSrv
replicas: 1
restart_policy:
condition: any
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
networks:
- ioc-network

corrlong-sb-ia08:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
- "dips"
command: bash -c '/ioc-apps/si-ps-corrlong-sb-ia08.bash'
volumes:
- "/storage/common/fac/iocs-log:/home/sirius/iocs-log"
deploy:
placement:
constraints:
- node.hostname == IA-16RaBbB-CO-IOCSrv
replicas: 1
restart_policy:
condition: any
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
networks:
- ioc-network

corrs-qs-sb-ia10:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
Expand All @@ -1034,6 +1078,50 @@ services:
networks:
- ioc-network

corrs-sb-ia14:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
- "dips"
command: bash -c '/ioc-apps/si-ps-corrs-sb-ia14.bash'
volumes:
- "/storage/common/fac/iocs-log:/home/sirius/iocs-log"
deploy:
placement:
constraints:
- node.hostname == IA-14RaDiag03-CO-IOCSrv
replicas: 1
restart_policy:
condition: any
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
networks:
- ioc-network

corrlong-sb-ia14:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
- "dips"
command: bash -c '/ioc-apps/si-ps-corrlong-sb-ia14.bash'
volumes:
- "/storage/common/fac/iocs-log:/home/sirius/iocs-log"
deploy:
placement:
constraints:
- node.hostname == IA-18RaDiag04-CO-IOCSrv
replicas: 1
restart_policy:
condition: any
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "10m"
networks:
- ioc-network

trims-qs-c1234-ia01:
image: ghcr.io/lnls-sirius/docker-machine-applications/fac-iocs:__FAC_IOC_TAG_TEMPLATE__
depends_on:
Expand Down
4 changes: 4 additions & 0 deletions tools/generate_service_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,11 @@ class ServiceConfig:
'corrs-c134-ia18': ('si-ps-corrs-c134-ia18', ('dips', )),
'corrs-c134-ia19': ('si-ps-corrs-c134-ia19', ('dips', )),
'corrs-c134-ia20': ('si-ps-corrs-c134-ia20', ('dips', )),
'corrs-sb-ia08': ('si-ps-corrs-sb-ia08', ('dips', )),
'corrlong-sb-ia08': ('si-ps-corrlong-sb-ia08', ('dips', )),
'corrs-qs-sb-ia10': ('si-ps-corrs-qs-sb-ia10', ('dips', )),
'corrs-sb-ia14': ('si-ps-corrs-sb-ia14', ('dips', )),
'corrlong-sb-ia14': ('si-ps-corrlong-sb-ia14', ('dips', )),
'trims-qs-c1234-ia01': ('si-ps-trims-qs-c1234-ia01', ('dips', 'quads-qd', 'quads-qfq')),
'trims-qs-c1234-ia02': ('si-ps-trims-qs-c1234-ia02', ('dips', 'quads-qd', 'quads-qfq')),
'trims-qs-c1234-ia03': ('si-ps-trims-qs-c1234-ia03', ('dips', 'quads-qd', 'quads-qfq')),
Expand Down

0 comments on commit 150fe87

Please sign in to comment.