-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmorphbox-allowlist.conf
More file actions
111 lines (96 loc) · 2.38 KB
/
morphbox-allowlist.conf
File metadata and controls
111 lines (96 loc) · 2.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# MorphBox Allowlist Configuration
# This file controls both IP access and website access for Docker containers
# Lines starting with # are comments
# One entry per line
# ============================================
# IP ALLOWLIST - Who can connect to MorphBox
# ============================================
# Format: IP address or CIDR range
# Examples:
# 192.168.1.100 - Single IP
# 10.0.0.0/24 - Subnet
# ::1 - IPv6 localhost
#
# Default: Allow all (0.0.0.0/0 means no IP filtering)
# Uncomment and modify to restrict access:
[ip_allowlist]
# Allow all by default - uncomment below to restrict
0.0.0.0/0
# ::0/0
# Common examples (uncomment to use):
# 127.0.0.1 # localhost only
# 192.168.1.0/24 # Local network
# 10.8.0.0/24 # VPN network
# 203.0.113.45 # Specific external IP
# ============================================
# WEBSITE ALLOWLIST - What sites Docker can access
# ============================================
# Format: domain name (without http://)
# Subdomains are automatically included
# Example: github.com also allows api.github.com
[website_allowlist]
# Core development services
github.com
gitlab.com
bitbucket.org
githubusercontent.com
# Package registries
registry.npmjs.org
npmjs.org
pypi.org
files.pythonhosted.org
rubygems.org
crates.io
pkg.go.dev
# Container registries
docker.io
registry.docker.io
hub.docker.com
ghcr.io
quay.io
# AI/ML APIs
api.anthropic.com
api.openai.com
openai.com
api.gemini.google.com
openrouter.ai
huggingface.co
# CDN and assets
cdn.jsdelivr.net
cdnjs.cloudflare.com
unpkg.com
esm.sh
# Development tools
localhost
127.0.0.1
0.0.0.0
# Documentation sites
devdocs.io
developer.mozilla.org
stackoverflow.com
docs.microsoft.com
docs.google.com
# Cloud providers (uncomment if needed)
# amazonaws.com
# azure.microsoft.com
# googleapis.com
# cloudflare.com
# Custom domains (add your own)
# example.com
# mycompany.com
# internal-api.local
# ============================================
# PORTS ALLOWLIST (Optional)
# ============================================
# Restrict which ports can be accessed
# Format: port number or range
[ports_allowlist]
# Common development ports (all allowed by default)
# Uncomment to restrict:
# 80 # HTTP
# 443 # HTTPS
# 3000-9999 # Development servers
# 5432 # PostgreSQL
# 3306 # MySQL
# 6379 # Redis
# 27017 # MongoDB