|
|
@ -16,8 +16,8 @@ services: |
|
|
|
#- POSTGRES_DB=mastodon_production |
|
|
|
#- POSTGRES_DB=mastodon_production |
|
|
|
|
|
|
|
|
|
|
|
redis: |
|
|
|
redis: |
|
|
|
restart: always |
|
|
|
|
|
|
|
image: redis:6-alpine |
|
|
|
image: redis:6-alpine |
|
|
|
|
|
|
|
restart: always |
|
|
|
networks: |
|
|
|
networks: |
|
|
|
- internal_network |
|
|
|
- internal_network |
|
|
|
healthcheck: |
|
|
|
healthcheck: |
|
|
@ -26,8 +26,8 @@ services: |
|
|
|
- ../data/mastodon/redis:/data |
|
|
|
- ../data/mastodon/redis:/data |
|
|
|
|
|
|
|
|
|
|
|
es: |
|
|
|
es: |
|
|
|
restart: always |
|
|
|
|
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 |
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 |
|
|
|
|
|
|
|
restart: always |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" |
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" |
|
|
|
- "cluster.name=es-mastodon" |
|
|
|
- "cluster.name=es-mastodon" |
|
|
|