-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 1.07 KB
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
40
41
# =============================================================================
# Simprint Extension Sync Server Docker Compose
# =============================================================================
# 启动: docker compose up -d --build
# =============================================================================
services:
extension-sync:
build:
context: .
dockerfile: Dockerfile
container_name: simprint-extension-sync
restart: unless-stopped
ports:
- "18080:8080"
volumes:
- extension-sync-storage:/app/storage
- ./configs:/app/configs:ro
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8080/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
- simprint-network
volumes:
extension-sync-storage:
driver: local
networks:
simprint-network:
external: true
name: simprint-network