-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 893 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
23 lines (22 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ==============================================================================
# SiteWarden Docker Compose Specification
# Conforms to IEEE Std 830-1998 (SRS Section 5.1 & 5.2)
# ==============================================================================
services:
sitewarden:
image: ghcr.io/shantodotdev/sitewarden:latest
container_name: sitewarden
restart: unless-stopped
volumes:
# Bind mount directory so host atomic file replacements (nano/vim/sed) update instantly inside container
- ./:/app/config:ro
# Bind mount directory to persist failure screenshots across container recreations
- ./screenshots:/app/screenshots:rw
command: ["--config", "/app/config/config.yaml"]
environment:
- RUST_LOG=sitewarden=info,chromiumoxide=error,info
deploy:
resources:
limits:
memory: 512M
cpus: "1.0"