chore: build

This commit is contained in:
Xor290
2026-10-26 21:01:06 +01:00
parent 8e36acd812
commit 1eeca2b368
52 changed files with 1206 additions and 253 deletions
+42 -17
View File
@@ -5,31 +5,54 @@ services:
restart: unless-stopped
ports:
- "10.0.0.4:80:80"
- "10.0.0.4:8080:8080"
- "10.0.0.4:9000:9000"
- "10.0.0.4:9001:9001"
- "10.0.0.4:443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs:/etc/nginx/certs:ro
- nginx_logs:/var/log/nginx
depends_on:
- minio
- portabase
networks:
- s3_net
minio:
image: minio/minio:latest
container_name: s3_minio
restart: unless-stopped
hostname: minio
volumes:
- /mnt/data:/data
portabase:
image: portabase/portabase:latest
container_name: portabase-app
restart: always
env_file: .env
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=admin@12345
- MINIO_ADDRESS=:9000
- MINIO_CONSOLE_ADDRESS=:9001
command: minio server /data --console-address :9001
- TZ=Europe/Paris
expose:
- "80"
volumes:
- portabase-data:/data
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 60s
networks:
- s3_net
db:
image: postgres:17-alpine
container_name: portabase-pg
restart: always
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: portabase
POSTGRES_USER: portabase
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U portabase -d portabase"]
interval: 10s
timeout: 5s
retries: 5
networks:
- s3_net
@@ -102,3 +125,5 @@ volumes:
clamav_db:
clamav_logs:
clamav_scan_logs:
portabase-data:
postgres-data: