forked from renergr1nch/splitter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
33 lines (31 loc) · 890 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
33 lines (31 loc) · 890 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
version: "3.8"
services:
splitter:
build:
context: .
dockerfile: Dockerfile
ports:
- "63536:63536" # SOCKS
- "63537:63537" # HTTP
- "63540:63540" # Status / healthz
environment:
- SPLITTER_INSTANCES=2
- SPLITTER_COUNTRIES=6
- SPLITTER_RELAY_ENFORCE=exit
- SPLITTER_LOG=1
volumes:
# Mount local configs (read-only) so you can iterate on profiles and defaults
- ./configs:/splitter/configs:ro
# Persistent runtime data
- splitter-data:/splitter/data
# Optionally mount source for in-container builds / live edits. Commented by default.
# - ./:/workspace:rw
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:63540/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
splitter-data: