Skip to content

Commit

Permalink
chore(documentation): Update docker-compose examples with Redis and c…
Browse files Browse the repository at this point in the history
…luster mode (#29909) (#30086)

### Proposed Changes
* This pull request updates the database docker images used in the
docker-compose manifest examples to `pgvector/pgvector:pg16`.

### Additional Info
Related to #29909 (Update docker-compose examples with Redis and cluster
mode).
  • Loading branch information
dcolina authored Sep 24, 2024
1 parent 3977a3b commit 09a5164
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
db_net:
opensearch-net:
Expand Down Expand Up @@ -52,7 +50,7 @@ services:
- db
volumes:
#- {local_data_path}:/data/shared
- {license_local_path}/license.zip:/data/shared/assets/license.zip
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- db_net
- opensearch-net
Expand All @@ -61,7 +59,7 @@ services:
- "8443:8443"

db:
image: postgres:15
image: pgvector/pgvector:pg16
command: postgres -c 'max_connections=400' -c 'shared_buffers=128MB'
environment:
"POSTGRES_USER": 'dotcmsdbuser'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
cluster-mode_db_net:
external: true
Expand All @@ -26,7 +24,7 @@ services:
#CUSTOM_STARTER_URL: 'https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/starter/20240719/starter-20240719.zip'
volumes:
#- {local_data_path}:/data/shared
- {license_local_path}/license.zip:/data/shared/assets/license.zip
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- cluster-mode_db_net
- cluster-mode_opensearch-net
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
db_net:
opensearch-net:
Expand Down Expand Up @@ -59,8 +57,8 @@ services:
- db
- redis
volumes:
- {local_data_path}:/data/shared
- {license_local_path}:/data/shared/assets/license.zip
#- {local_data_path}:/data/shared
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- db_net
- opensearch-net
Expand All @@ -78,7 +76,7 @@ services:
- redis_net

db:
image: postgres:15
image: pgvector/pgvector:pg16
command: postgres -c 'max_connections=400' -c 'shared_buffers=128MB'
environment:
"POSTGRES_USER": 'dotcmsdbuser'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
with-redis-session_db_net:
external: true
Expand Down Expand Up @@ -31,8 +29,8 @@ services:
DOT_ES_ENDPOINTS: 'https://opensearch:9200'
DOT_DOTCMS_CLUSTER_ID: 'dotcms-redis-cluster'
volumes:
- { local_data_path }:/data/shared
- {license_local_path}:/data/shared/assets/license.zip
#- {local_data_path}:/data/shared
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- with-redis-session_db_net
- with-redis-session_opensearch-net
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
db_net:
opensearch-net:
Expand Down Expand Up @@ -57,7 +55,7 @@ services:
- redis
volumes:
#- {local_data_path}:/data/shared
- {license_local_path}/license.zip:/data/shared/assets/license.zip
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- db_net
- opensearch-net
Expand All @@ -75,7 +73,7 @@ services:
- redis_net

db:
image: postgres:15
image: pgvector/pgvector:pg16
command: postgres -c 'max_connections=400' -c 'shared_buffers=128MB'
environment:
"POSTGRES_USER": 'dotcmsdbuser'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.5'

networks:
with-redis_db_net:
external: true
Expand Down Expand Up @@ -31,7 +29,7 @@ services:
#CUSTOM_STARTER_URL: 'https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/starter/20240719/starter-20240719.zip'
volumes:
#- {local_data_path}:/data/shared
- {license_local_path}/license.zip:/data/shared/assets/license.zip
#- {license_local_path}/license.zip:/data/shared/assets/license.zip
networks:
- with-redis_db_net
- with-redis_opensearch-net
Expand Down

0 comments on commit 09a5164

Please sign in to comment.