2022-06-15 21:53:52 +01:00
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: .
|
2023-12-21 23:21:19 +00:00
|
|
|
restart: unless-stopped
|
2022-06-15 21:53:52 +01:00
|
|
|
ports:
|
|
|
|
- "8001:80"
|
|
|
|
volumes:
|
|
|
|
- "./VoidCat/appsettings.compose.json:/app/appsettings.json:ro"
|
2023-12-21 23:21:19 +00:00
|
|
|
- "./data/web:/app/data"
|
2022-07-09 23:19:41 +01:00
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- redis
|
2023-12-21 23:21:19 +00:00
|
|
|
- clamav
|
2023-12-22 10:59:27 +00:00
|
|
|
- prometheus
|
2022-06-15 21:53:52 +01:00
|
|
|
redis:
|
|
|
|
image: "redis:alpine"
|
2023-12-21 23:21:19 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- "./data/redis:/data"
|
2022-06-15 21:53:52 +01:00
|
|
|
postgres:
|
2023-12-21 23:21:19 +00:00
|
|
|
image: "postgres:16"
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- "./data/postgres:/var/lib/postgresql/data"
|
2022-06-15 21:53:52 +01:00
|
|
|
environment:
|
|
|
|
- "POSTGRES_DB=void"
|
|
|
|
- "POSTGRES_HOST_AUTH_METHOD=trust"
|
|
|
|
clamav:
|
2022-09-07 15:52:40 +01:00
|
|
|
image: "clamav/clamav"
|
2023-12-21 23:21:19 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-12-22 10:59:27 +00:00
|
|
|
- "./data/clamav:/var/lib/clamav"
|
|
|
|
prometheus:
|
|
|
|
image: bitnami/prometheus
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- "./data/prometheus:/opt/bitnami/prometheus/data"
|
|
|
|
- "./prometheus.yml:/opt/bitnami/prometheus/conf/prometheus.yml:ro"
|