-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
7 changed files
with
42 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: '3' | ||
volumes: | ||
postgres_data: {} | ||
elastic_data: {} | ||
opensearch_data: {} | ||
app_cargo_data: {} | ||
app_build_data: {} | ||
app_deps_data: {} | ||
|
@@ -31,8 +31,8 @@ services: | |
- IMAGE_URL_ROOT=/img | ||
- BADGE_URL_ROOT=/badge-img | ||
- TAG_URL_ROOT=/tag-img | ||
- ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
- REDIS_HOST=redis | ||
- OPENSEARCH_URL=http://opensearch:9200 | ||
- REDIS_HOST=valkey | ||
- DATABASE_URL=ecto://postgres:postgres@postgres/philomena_dev | ||
- CDN_HOST=localhost | ||
- [email protected] | ||
|
@@ -54,8 +54,8 @@ services: | |
- app_native_data:/srv/philomena/priv/native | ||
depends_on: | ||
- postgres | ||
- elasticsearch | ||
- redis | ||
- opensearch | ||
- valkey | ||
ports: | ||
- '5173:5173' | ||
|
||
|
@@ -68,21 +68,20 @@ services: | |
logging: | ||
driver: "none" | ||
|
||
elasticsearch: | ||
image: elasticsearch:7.9.3 | ||
opensearch: | ||
image: opensearchproject/opensearch:2.14.0 | ||
volumes: | ||
- elastic_data:/usr/share/elasticsearch/data | ||
- opensearch_data:/usr/share/opensearch/data | ||
- ./docker/opensearch/opensearch.yml:/usr/share/opensearch/config/opensearch.yml | ||
logging: | ||
driver: "none" | ||
environment: | ||
- discovery.type=single-node | ||
ulimits: | ||
nofile: | ||
soft: 65536 | ||
hard: 65536 | ||
|
||
redis: | ||
image: redis:7.2.4-alpine | ||
valkey: | ||
image: valkey/valkey:7.2.5-alpine | ||
logging: | ||
driver: "none" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
cluster.name: docker-cluster | ||
|
||
# Bind to all interfaces because we don't know what IP address Docker will assign to us. | ||
network.host: 0.0.0.0 | ||
|
||
# Setting network.host to a non-loopback address enables the annoying bootstrap checks. "Single-node" mode disables them again. | ||
discovery.type: single-node | ||
|
||
# Disable security. We don't need it for dev environment. | ||
# Also, whoever thought it's a GREAT IDEA TO ENFORCE SECURITY FEATURES | ||
# BY DEFAULT IN A FREAKING DOCKER CONTAINER should be forced to play | ||
# the password game every time they would like to create a new account | ||
# anywhere whatsoever. | ||
plugins.security.disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters