2021-01-24 04:55:11 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
mangadex-at-home:
|
|
|
|
container_name: mangadex-at-home
|
2023-04-07 20:51:29 +00:00
|
|
|
image: "registry.gitlab.com/mangadex-pub/mangadex_at_home:2"
|
2021-01-24 04:55:11 +00:00
|
|
|
ports:
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
2021-01-24 05:34:41 +00:00
|
|
|
- ./settings.yaml:/mangahome/settings.yaml:ro
|
2021-01-24 04:55:11 +00:00
|
|
|
- ./data/cache/:/mangahome/data/
|
|
|
|
environment:
|
2021-02-06 07:37:55 +00:00
|
|
|
JAVA_TOOL_OPTIONS: "-Xms1G -Xmx1G -XX:+UseShenandoahGC -Xss512K"
|
2021-01-24 04:55:11 +00:00
|
|
|
command: [
|
|
|
|
"bash",
|
|
|
|
"-c",
|
|
|
|
"java \
|
|
|
|
-Dfile-level=off \
|
|
|
|
-Dstdout-level=info \
|
|
|
|
-jar mangadex_at_home.jar \
|
2021-02-11 21:54:21 +00:00
|
|
|
--cache /mangahome/data/images/ \
|
|
|
|
--database /mangahome/data/"
|
2021-01-24 04:55:11 +00:00
|
|
|
]
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "20m"
|
|
|
|
max-file: "2"
|
|
|
|
|
|
|
|
prometheus:
|
|
|
|
container_name: prometheus
|
2023-04-07 20:51:29 +00:00
|
|
|
image: prom/prometheus:v2.34.0
|
2021-01-24 04:55:11 +00:00
|
|
|
user: "root"
|
|
|
|
group_add:
|
|
|
|
- 0
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
|
|
|
links:
|
|
|
|
- mangadex-at-home
|
|
|
|
volumes:
|
|
|
|
- ./prometheus/:/etc/prometheus/:ro
|
|
|
|
- ./data/prometheus/:/prometheus/
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "20m"
|
|
|
|
max-file: "2"
|
|
|
|
|
|
|
|
grafana:
|
|
|
|
container_name: grafana
|
2023-04-07 20:51:29 +00:00
|
|
|
image: grafana/grafana:8.4.3
|
2021-01-24 04:55:11 +00:00
|
|
|
user: "root"
|
|
|
|
group_add:
|
|
|
|
- 0
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
links:
|
|
|
|
- prometheus
|
|
|
|
volumes:
|
|
|
|
- ./grafana/:/etc/grafana/:ro
|
|
|
|
- ./data/grafana/:/var/lib/grafana/
|
|
|
|
environment:
|
|
|
|
GF_INSTALL_PLUGINS: "grafana-worldmap-panel"
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "20m"
|
|
|
|
max-file: "2"
|