mirror of
https://github.com/simon987/sist2.git
synced 2025-04-03 07:22:59 +00:00
29 lines
767 B
YAML
29 lines
767 B
YAML
version: "3"
|
|
|
|
services:
|
|
elasticsearch:
|
|
image: elasticsearch:7.17.9
|
|
container_name: sist2-es
|
|
volumes:
|
|
# This directory must have 1000:1000 permissions (or update PUID & PGID below)
|
|
- /data/sist2-es-data/:/usr/share/elasticsearch/data
|
|
environment:
|
|
- "discovery.type=single-node"
|
|
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
|
|
- "PUID=1000"
|
|
- "PGID=1000"
|
|
sist2-admin:
|
|
build:
|
|
context: .
|
|
container_name: sist2-admin
|
|
volumes:
|
|
- /data/sist2-admin-data/:/sist2-admin/
|
|
- /<path to index>/:/host
|
|
ports:
|
|
- 4090:4090
|
|
# NOTE: Don't export this port publicly!
|
|
- 8080:8080
|
|
working_dir: /root/sist2-admin/
|
|
entrypoint: python3
|
|
command:
|
|
- /root/sist2-admin/sist2_admin/app.py |