diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index df3e8488..2c7fe7c0 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,12 +1,8 @@ -version: "3" - -volumes: - db_data: {} +version: "3.9" services: postgres: volumes: - - db_data:/var/lib/postgresql/data - type: bind source: /home/ubuntu/postgresql/conf/postgresql.conf target: /etc/postgresql/postgresql.conf diff --git a/docker-compose.yml b/docker-compose.yml index 11acc730..665d6b84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -145,6 +145,7 @@ services: retries: 10 gemini_3h_leaderboard-subquery-node: + profiles: [gemini_3h] image: subquerynetwork/subql-node-substrate:latest depends_on: "postgres": @@ -175,6 +176,7 @@ services: retries: 10 gemini_3h_staking-subquery-node: + profiles: [gemini_3h] image: subquerynetwork/subql-node-substrate:latest depends_on: "postgres": @@ -205,6 +207,7 @@ services: retries: 10 gemini_3g_testnet_rewards-subquery-node: + profiles: [gemini_3g] image: subquerynetwork/subql-node-substrate:latest depends_on: "postgres":