kitsune/docker-compose.yml

77 строки
1.5 KiB
YAML
Исходник Обычный вид История

services:
web:
build:
context: .
2021-12-29 15:45:21 +03:00
target: base
command: ./bin/run-prod.sh
env_file: .env
volumes:
- ./:/app:delegated
2017-11-17 11:36:03 +03:00
user: ${UID:-kitsune}
stdin_open: true
tty: true
depends_on:
- postgres
- elasticsearch
2020-09-09 18:36:37 +03:00
- kibana
- redis
2020-06-05 13:21:55 +03:00
- celery
- mailcatcher
2017-11-15 10:33:39 +03:00
ports:
- "8000:8000"
postgres:
image: postgres:15.3
environment:
- POSTGRES_PASSWORD=kitsune
- POSTGRES_USER=kitsune
- POSTGRES_DB=kitsune
- LC_ALL=C.UTF-8
ports:
- "5432:5432"
volumes:
- pgvolume:/var/lib/postgresql/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
environment:
- discovery.type=single-node
2021-12-13 16:07:25 +03:00
- LOG4J_FORMAT_MSG_NO_LOOKUPS=true
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./kitsune/search/dictionaries/synonyms:/usr/share/elasticsearch/config/synonyms
2020-08-20 14:40:08 +03:00
kibana:
image: docker.elastic.co/kibana/kibana:7.10.2
2020-08-20 14:40:08 +03:00
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
2020-08-20 14:40:08 +03:00
redis:
2017-11-15 10:33:39 +03:00
image: redis:3
2020-06-05 13:21:55 +03:00
celery:
build:
context: .
2021-12-29 15:45:21 +03:00
target: base
command: celery -A kitsune worker -l info -n default@%h -Q celery,priority
env_file: .env
volumes:
- ./:/app:delegated
user: ${UID:-kitsune}
depends_on:
- postgres
- redis
mailcatcher:
image: schickling/mailcatcher
ports:
- "1080:1080"
volumes:
pgvolume: