You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
684 B
YAML

version: "2"
services:
web:
build: "."
links:
- "db:postgres"
- "solr:solr"
ports:
- "8009:80"
volumes:
- ".:/app:rw"
- "./data:/data:rw"
command: python manage.py runserver 0.0.0.0:80
env_file: .env-local
db:
image: postgres:9.6-alpine
environment:
POSTGRES_DB: "db"
volumes:
- ".:/app:rw"
solr:
image: solr:7.2-alpine
ulimits:
memlock:
soft: 20480
hard: 20480
environment:
- "SOLR_HEAP=24m"
volumes:
- "./schema_de.xml:/opt/solr/server/solr/de/schema.xml"
- "./schema_en.xml:/opt/solr/server/solr/en/schema.xml"
expose:
- "8983"