This repository was archived by the owner on Oct 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (49 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
52 lines (49 loc) · 1.49 KB
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
43
44
45
46
47
48
49
50
51
52
version: "3"
services:
momca:
image: momca
build:
context: ./config
dockerfile: ./Dockerfile
args:
BACKUP_TRIGGER: ${BACKUP_TRIGGER:-0 0 4 * * ?}
BRANCH: ${BRANCH:-master}
CACHE_SIZE: ${CACHE_SIZE:-256}
COLLECTION_CACHE: ${COLLECTION_CACHE:-256}
HTTPS_PORT: ${HTTPS_PORT:-8443}
HTTP_PORT: ${HTTP_PORT:-8080}
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}
REPOSITORY: ${REPOSITORY:-https://github.com/icaruseu/mom-ca.git}
SERVER_NAME: ${SERVER_NAME:-localhost}
SMTP_URL: ${SMTP_URL}
USE_SSL: ${USE_SSL:-false}
environment:
HTTP_PORT: ${HTTP_PORT:-8080}
volumes:
- data:/opt/momca/mom.XRX-data
- ./restore:/tmp/restore
- ./backup:/opt/momca/mom.XRX-data/export
- ./logs:/opt/momca/mom.XRX/localhost/webapp/WEB-INF/logs
container_name: momca
restart: always
networks:
- default
labels:
- traefik.backend=momca-backend
- traefik.docker.network=${TRAEFIK_NETWORK:-traefik}
- traefik.frontend.rule=Host:${HOST}
- traefik.enable=true
- traefik.port=${HTTP_PORT:-8080}
volumes:
data: {}
networks:
default:
external:
name: ${TRAEFIK_NETWORK:-traefik}