-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.docker.example
More file actions
68 lines (59 loc) · 2.94 KB
/
Copy path.env.docker.example
File metadata and controls
68 lines (59 loc) · 2.94 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
# ==============================================================================
# DOCKER-SPECIFIC CONFIGURATION
# ==============================================================================
# This file contains Docker/infrastructure configuration.
# Keep this separate from your main .env file (bot configuration).
#
# SETUP:
# 1. Copy this file: cp .env.docker.example .env.docker
# 2. Fill in your values below
# 3. Source it before running: export $(cat .env.docker | xargs)
# OR add to your docker-compose.yml's env_file section
# ==============================================================================
# ------------------------------------------------------------------------------
# MONGODB CONFIGURATION
# ------------------------------------------------------------------------------
# These credentials are used by the MongoDB container
# ⚠️ Change the password from the default!
MONGO_USER=polymarket_user
MONGO_PASSWORD=change_this_to_strong_password
MONGO_DATABASE=polymarket_db
# ------------------------------------------------------------------------------
# USER/GROUP IDs (File Permissions)
# ------------------------------------------------------------------------------
# Set these to your host user's UID/GID to avoid permission issues
# Run these commands on your host to find your IDs:
# id -u # Your User ID
# id -g # Your Group ID
PUID=1000
PGID=1000
# ==============================================================================
# WIREGUARD VPN CONFIGURATION (OPTIONAL)
# ==============================================================================
# ⚠️ VPN is OPTIONAL - only needed for geographic restrictions or privacy
#
# To disable VPN entirely:
# 1. Comment out the wireguard-vpn service in docker-compose.yml
# 2. Change polymarket service to use polymarket-network instead of VPN
#
# If you want to use VPN, configure the settings below:
# ==============================================================================
# VPN Provider (examples: airvpn, nordvpn, expressvpn, etc.)
# See: https://github.com/qdm12/gluetun-wiki/tree/main/setup/providers
VPN_PROVIDER=airvpn
# WireGuard Configuration
# Get these from your VPN provider's WireGuard config file
WIREGUARD_PRIVATE_KEY=your_private_key_here
WIREGUARD_PRESHARED_KEY=your_preshared_key_here
WIREGUARD_ADDRESSES=10.x.x.x/32
# VPN Server Countries (comma-separated)
# Polymarket is geo-restricted in some regions
VPN_COUNTRIES=Austria, Belgium, Germany, United Kingdom
# ==============================================================================
# IMPORTANT NOTES:
# ==============================================================================
# 1. Never commit .env.docker file to git (add to .gitignore)
# 2. Your bot configuration goes in .env (not this file)
# 3. MongoDB connection in .env is auto-configured by docker-compose.yml
# 4. VPN keys are sensitive - treat them like passwords
# ==============================================================================