mirror of
https://github.com/simon987/sist2.git
synced 2025-04-04 07:52:59 +00:00
27 lines
681 B
YAML
27 lines
681 B
YAML
version: "3"
|
|
|
|
services:
|
|
elasticsearch:
|
|
image: elasticsearch:7.17.9
|
|
container_name: sist2-es
|
|
volumes:
|
|
# This directory must have 1000:1000 permissions
|
|
- /data/sist2-es-data/:/usr/share/elasticsearch/data
|
|
environment:
|
|
- "discovery.type=single-node"
|
|
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
|
|
sist2-admin:
|
|
build:
|
|
context: .
|
|
container_name: sist2-admin
|
|
volumes:
|
|
- /data/sist2-admin-data/:/sist2-admin/
|
|
- /:/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 |