1services:
2 arche-server:
3 build:
4 context: .
5 dockerfile: Dockerfile
6 container_name: arche-server
7 restart: unless-stopped
8
9 ports:
10 - "8080:8080"
11
12 volumes:
13 - arche-data:/app/data
14 - ./deploy/server.toml:/app/config/server.toml:ro
15
16 environment:
17 - ARCHE_BASE_URL=${ARCHE_BASE_URL:-http://localhost:8080}
18
19 healthcheck:
20 test: ["CMD", "curl", "-fs", "http://localhost:8080/"]
21 interval: 30s
22 timeout: 5s
23 retries: 3
24 start_period: 10s
25
26volumes:
27 arche-data: