Skip to content

Commit 99c7fe0

Browse files
committed
Add labels to docker compose
1 parent 4dbb298 commit 99c7fe0

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/deploy-portainer-staging.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ on:
1313
description: 'Signing version. Example: v2.0.0'
1414
required: true
1515
default: latest
16-
pull_request: null
1716

1817
env:
1918
PORTAINER_ENDPOINT_ID: 8
2019
STACK_NAME: sprinter-signing-staging
2120

2221
jobs:
2322
deploy:
24-
#if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.inputs.image_version }}
23+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.inputs.image_version }}
2524
runs-on:
2625
group: portainer-deployment
2726
environment: staging

deploy/docker-compose.staging.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ services:
1414
- CONFIG_PATH=/cfg/config_1.json
1515
- KEYSHARE_PATH=/cfg/keyshares/0.keyshare
1616
- VIRTUAL_HOST=${SPRINTER_SIGNING_DOMAIN}
17+
labels:
18+
logging: "alloy"
19+
logging_jobname: "containerlogs"
20+
service_name: "signing_relayer_1_staging"
1721
ports:
1822
- 3000:3000
1923
expose:
@@ -34,6 +38,10 @@ services:
3438
- KEYSHARE=${KEYSHARE_2}
3539
- CONFIG_PATH=/cfg/config_2.json
3640
- KEYSHARE_PATH=/cfg/keyshares/1.keyshare
41+
labels:
42+
logging: "alloy"
43+
logging_jobname: "containerlogs"
44+
service_name: "signing_relayer_2_staging"
3745
restart: always
3846
ports:
3947
- 3001:3000
@@ -52,6 +60,10 @@ services:
5260
- KEYSHARE=${KEYSHARE_3}
5361
- CONFIG_PATH=/cfg/config_3.json
5462
- KEYSHARE_PATH=/cfg/keyshares/2.keyshare
63+
labels:
64+
logging: "alloy"
65+
logging_jobname: "containerlogs"
66+
service_name: "signing_relayer_3_staging"
5567
ports:
5668
- 3002:3000
5769
restart: always

0 commit comments

Comments
 (0)