-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
42 lines (39 loc) · 1.08 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3"
services:
momca:
image: momca
build:
context: .
args:
BACKUP_TRIGGER: ${BACKUP_TRIGGER:-0 0 4 * * ?}
CACHE_SIZE: ${CACHE_SIZE:-256}
COLLECTION_CACHE: ${COLLECTION_CACHE:-256}
HTTPS_PORT: ${HTTPS_PORT:-8443}
HTTP_PORT: ${HTTP_PORT:-8181}
INIT_MEMORY: ${INIT_MEMORY:-256}
LUCENE_BUFFER: ${LUCENE_BUFFER:-256}
MAIL_DOMAIN: ${MAIL_DOMAIN}
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
MAIL_PASSWORD: ${MAIL_PASSWORD}
MAIL_USER: ${MAIL_USER}
MAX_MEMORY: ${MAX_MEMORY:-2048}
PASSWORD: ${PASSWORD}
SERVER_NAME: ${SERVER_NAME:-localhost}
SMTP_URL: ${SMTP_URL}
USE_SSL: ${USE_SSL:-false}
environment:
HTTP_PORT: ${HTTP_PORT:-8181}
volumes:
- data:/opt/momca/mom.XRX-data
- ./my:/opt/momca/mom.XRX/my
ports:
- "${HTTP_PORT:-8181}:${HTTP_PORT:-8181}"
- "${HTTPS_PORT:-8443}:${HTTPS_PORT:-8443}"
container_name: momca
restart: always
networks:
- default
volumes:
data: {}
networks:
default: