Skip to content

Commit

Permalink
Merge pull request #458 from jackchenjc/issue-457
Browse files Browse the repository at this point in the history
feat: Update compose file for support-cron-scheduler service
  • Loading branch information
cloudxxx8 authored Aug 30, 2024
2 parents b8b33b4 + 7571aae commit e1a95c5
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docker-compose-postgres-no-secty-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,52 @@ services:
source: postgres-data
target: /var/lib/postgresql/data
volume: {}
support-cron-scheduler:
command:
- --registry
- -cp=keeper.http://edgex-core-keeper:59890
container_name: edgex-support-cron-scheduler
depends_on:
core-common-config-bootstrapper:
condition: service_started
required: true
edgex-postgres:
condition: service_started
required: true
keeper:
condition: service_started
required: true
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
WRITABLE_INSECURESECRETS_DB_SECRETNAME: postgres
WRITABLE_INSECURESECRETS_DB_SECRETDATA_USERNAME: postgres
WRITABLE_INSECURESECRETS_DB_SECRETDATA_PASSWORD: postgres
SERVICE_HOST: edgex-support-cron-scheduler
DATABASE_HOST: edgex-postgres
DATABASE_TYPE: postgres
DATABASE_PORT: "5432"
hostname: edgex-core-data
image: nexus3.edgexfoundry.org:10004/support-cron-scheduler-arm64:latest
networks:
edgex-network: null
ports:
- mode: ingress
host_ip: 127.0.0.1
target: 59863
published: "59863"
protocol: tcp
read_only: true
restart: always
security_opt:
- no-new-privileges:true
user: 2002:2001
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
bind:
create_host_path: true
networks:
edgex-network:
name: edgex_edgex-network
Expand Down
46 changes: 46 additions & 0 deletions docker-compose-postgres-no-secty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,52 @@ services:
source: postgres-data
target: /var/lib/postgresql/data
volume: { }
support-cron-scheduler:
command:
- --registry
- -cp=keeper.http://edgex-core-keeper:59890
container_name: edgex-support-cron-scheduler
depends_on:
core-common-config-bootstrapper:
condition: service_started
required: true
edgex-postgres:
condition: service_started
required: true
keeper:
condition: service_started
required: true
environment:
EDGEX_SECURITY_SECRET_STORE: "false"
WRITABLE_INSECURESECRETS_DB_SECRETNAME: postgres
WRITABLE_INSECURESECRETS_DB_SECRETDATA_USERNAME: postgres
WRITABLE_INSECURESECRETS_DB_SECRETDATA_PASSWORD: postgres
SERVICE_HOST: edgex-support-cron-scheduler
DATABASE_HOST: edgex-postgres
DATABASE_TYPE: postgres
DATABASE_PORT: "5432"
hostname: edgex-core-data
image: nexus3.edgexfoundry.org:10004/support-cron-scheduler:latest
networks:
edgex-network: null
ports:
- mode: ingress
host_ip: 127.0.0.1
target: 59863
published: "59863"
protocol: tcp
read_only: true
restart: always
security_opt:
- no-new-privileges:true
user: 2002:2001
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
bind:
create_host_path: true
networks:
edgex-network:
name: edgex_edgex-network
Expand Down

0 comments on commit e1a95c5

Please sign in to comment.