-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganize docker-compose for production use
- Loading branch information
Showing
11 changed files
with
103 additions
and
228 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,29 @@ | ||
version: '3.1' | ||
# To play with this file use following command: | ||
# $ docker-compose -f docker-compose.yml docker-compose.es.yml up | ||
|
||
services: | ||
web: | ||
environment: &webEnvironment | ||
DATABASE_URL: mysql://root:password@db/feder | ||
ELASTICSEARCH_URL: http://elasticsearch:9200/ | ||
APACHE_TIKA_URL: 'http://tika:9998/' | ||
VIRUSTOTAL_API_KEY: | ||
ATTACHMENTSCANNER_API_KEY: | ||
ATTACHMENTSCANNER_API_URL: | ||
METADEFENDER_API_KEY: | ||
|
||
worker: | ||
command: python manage.py process_tasks | ||
environment: *webEnvironment | ||
|
||
elasticsearch: | ||
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 | ||
environment: | ||
discovery.type: single-node | ||
cluster.routing.allocation.disk.threshold_enabled: 'false' | ||
ports: | ||
- "9200:9200" | ||
|
||
tika: | ||
image: quay.io/watchdogpolska/apache-tika |
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
Oops, something went wrong.