Skip to content

Commit

Permalink
address docker-compose CRs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Jan 16, 2024
1 parent fd44d0d commit 7ff9f63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose-no-bind-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ services:
- '127.0.0.1:${ORION_DB_PORT}:${ORION_DB_PORT}'
command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${ORION_DB_PORT}']
# command: ['postgres', '-p', '${ORION_DB_PORT}']
shm_size: 1g
shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf
volumes:
- orion-db-data:/var/lib/postgresql/data
- ./orion-postgres.conf:/etc/postgresql/postgresql.conf
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.storage-squid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ services:
squid_db:
container_name: squid_db
hostname: squid-db
image: postgres:14
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_DB: ${SQUID_DB_NAME}
POSTGRES_PASSWORD: ${SQUID_DB_PASS}
networks:
- joystream
ports:
- '${SQUID_DB_PORT}:${SQUID_DB_PORT}'
- '127.0.0.1:${SQUID_DB_PORT}:${SQUID_DB_PORT}'
command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${SQUID_DB_PORT}']
shm_size: 1g
shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf
volumes:
- squid_db_data:/var/lib/postgresql/data
- ./postgres.conf:/etc/postgresql/postgresql.conf
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ services:
"
indexer:
image: joystream/hydra-indexer:v5.0.0-alpha.1
image: hydra-indexer
container_name: indexer
restart: unless-stopped
env_file:
Expand Down Expand Up @@ -319,7 +319,7 @@ services:
- '127.0.0.1:${ORION_DB_PORT}:${ORION_DB_PORT}'
command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${ORION_DB_PORT}']
# command: ['postgres', '-p', '${ORION_DB_PORT}']
shm_size: 1g
shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf
volumes:
- orion-db-data:/var/lib/postgresql/data
- ./postgres.conf:/etc/postgresql/postgresql.conf
Expand Down

0 comments on commit 7ff9f63

Please sign in to comment.