-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 990 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (38 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
aria-api:
build:
context: .
dockerfile: Dockerfile.api
image: aria-api:latest
container_name: aria-api
restart: unless-stopped
env_file: .env
environment:
- ARIA_ALLOWED_ORIGINS=http://localhost,http://127.0.0.1
- ARIA_MAX_CONCURRENT_RUNS=20
- ARIA_RATE_LIMIT_RUNS_PER_HOUR=30
- ARIA_RATE_LIMIT_REQS_PER_MIN=300
volumes:
- ./data:/app/data
- ./credentials:/app/credentials
- ./missions:/app/missions
ports:
- "8765:8765"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8765/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
aria-web:
image: nginx:alpine
container_name: aria-web
restart: unless-stopped
depends_on:
aria-api:
condition: service_healthy
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./aria-report/dist:/usr/share/nginx/html:ro