@@ -23,7 +23,7 @@ services:
2323
2424 postgres :
2525 image : postgres:15
26- container_name : csm -oracle-postgres
26+ container_name : staking-module -oracle-postgres
2727 environment :
2828 POSTGRES_USER : ${PERFORMANCE_DB_ADMIN_USER:-postgres}
2929 POSTGRES_PASSWORD : ${PERFORMANCE_DB_ADMIN_PASSWORD:-postgres}
@@ -43,7 +43,7 @@ services:
4343 # For external PostgreSQL: set PERFORMANCE_DB_HOST to your external host
4444 init-db :
4545 image : postgres:15
46- container_name : csm -oracle-init-db
46+ container_name : staking-module -oracle-init-db
4747 depends_on :
4848 postgres :
4949 condition : service_healthy
@@ -62,7 +62,7 @@ services:
6262
6363 performance-collector :
6464 build : .
65- container_name : csm -oracle-performance-collector
65+ container_name : staking-module -oracle-performance-collector
6666 command : ["-m", "src.main", "performance_collector"]
6767 depends_on :
6868 init-db :
@@ -80,7 +80,7 @@ services:
8080
8181 performance-web :
8282 build : .
83- container_name : csm -oracle-performance-web
83+ container_name : staking-module -oracle-performance-web
8484 command : ["-m", "src.main", "performance_web_server"]
8585 depends_on :
8686 init-db :
@@ -94,15 +94,15 @@ services:
9494 test : ["CMD", "curl", "-f", "http://localhost:9020/health"]
9595
9696 # ---------------------------------------------------------------------------
97- # CSM Oracle
97+ # Staking Module Oracles
9898 # ---------------------------------------------------------------------------
9999
100100 csm-oracle :
101101 build : .
102102 container_name : csm-oracle
103103 command : ["-m", "src.main", "csm"]
104104 environment :
105- CSM_MODULE_ADDRESS : ${CSM_MODULE_ADDRESS }
105+ STAKING_MODULE_ADDRESS : ${STAKING_MODULE_ADDRESS }
106106 CONSENSUS_CLIENT_URI : ${CONSENSUS_CLIENT_URI}
107107 EXECUTION_CLIENT_URI : ${EXECUTION_CLIENT_URI}
108108 KEYS_API_URI : ${KEYS_API_URI}
@@ -119,6 +119,28 @@ services:
119119 << : *healthcheck-defaults
120120 test : ["CMD", "curl", "-f", "http://localhost:9010/healthcheck"]
121121
122+ # cm-oracle:
123+ # build: .
124+ # container_name: cm-oracle
125+ # command: ["-m", "src.main", "cm"]
126+ # environment:
127+ # STAKING_MODULE_ADDRESS: ${STAKING_MODULE_ADDRESS}
128+ # CONSENSUS_CLIENT_URI: ${CONSENSUS_CLIENT_URI}
129+ # EXECUTION_CLIENT_URI: ${EXECUTION_CLIENT_URI}
130+ # KEYS_API_URI: ${KEYS_API_URI}
131+ # PERFORMANCE_COLLECTOR_URI: http://performance-web:9020/
132+ # LIDO_IPFS_HOST: ${LIDO_IPFS_HOST:-}
133+ # LIDO_IPFS_TOKEN: ${LIDO_IPFS_TOKEN:-}
134+ # PROMETHEUS_PORT: 9000
135+ # HEALTHCHECK_SERVER_PORT: 9010
136+ # ports:
137+ # - "${CSM_ORACLE_PROMETHEUS_PORT:-9002}:9000"
138+ # - "${CSM_ORACLE_HEALTH_PORT:-9012}:9010"
139+ # restart: unless-stopped
140+ # healthcheck:
141+ # <<: *healthcheck-defaults
142+ # test: ["CMD", "curl", "-f", "http://localhost:9010/healthcheck"]
143+
122144volumes :
123145 postgres-data :
124146
0 commit comments