+NATS
Some checks failed
ci/woodpecker/push/nats Pipeline failed
ci/woodpecker/push/db Pipeline failed

This commit is contained in:
Stephan D
2025-11-07 14:45:05 +01:00
parent 677017334a
commit e8f6f28880
8 changed files with 236 additions and 4 deletions

View File

@@ -23,6 +23,11 @@ volumes:
device: tmpfs
o: size=16m,uid=0,gid=0,mode=0750
networks:
sendico-net:
external: true
name: sendico-net
services:
vault-agent-sendico:
<<: *common-env
@@ -56,6 +61,8 @@ services:
timeout: 3s
retries: 30
start_period: 5s
networks:
- sendico-net
sendico_db1:
<<: *common-env
@@ -80,6 +87,8 @@ services:
retries: 10
start_period: 30s
ports: [ "0.0.0.0:${MONGO_PORT}:${MONGO_PORT}" ]
networks:
- sendico-net
sendico_db2:
<<: *common-env
@@ -103,6 +112,8 @@ services:
timeout: 5s
retries: 10
start_period: 30s
networks:
- sendico-net
sendico_db3:
<<: *common-env
@@ -126,6 +137,8 @@ services:
timeout: 5s
retries: 10
start_period: 30s
networks:
- sendico-net
mongo_setup:
<<: *common-env
@@ -158,6 +171,8 @@ services:
EOJS
'
restart: "no"
networks:
- sendico-net
pbm-agent-1:
<<: *common-env
@@ -180,6 +195,8 @@ services:
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db1:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
exec pbm-agent --config=/etc/backup/pbm-config.yaml
'
networks:
- sendico-net
pbm-agent-2:
<<: *common-env
@@ -202,6 +219,8 @@ services:
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db2:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
exec pbm-agent --config=/etc/backup/pbm-config.yaml
'
networks:
- sendico-net
pbm-agent-3:
<<: *common-env
@@ -224,3 +243,5 @@ services:
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db3:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
exec pbm-agent --config=/etc/backup/pbm-config.yaml
'
networks:
- sendico-shared