Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update compose file for support-cron-scheduler service #458

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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