-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 1.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
# --------------------------------------------------------------------------
# Gunbot Docker Compose
# Repo: https://github.com/magicdude4eva/docker-gunbot
# Description: Runs Gunbot with persistent binance_data and fixed network.
# --------------------------------------------------------------------------
networks:
gunbotnetwork:
name: gunbotnetwork # Custom bridge network for container isolation
driver: bridge # Standard Docker bridge network
enable_ipv6: false # IPv6 disabled for simplicity / compatibility
services:
gunbot-binance:
container_name: gunbot-binance
image: magicdude4eva/gunbot-colorised:latest
restart: unless-stopped # Always restart unless explicitly stopped
ports:
- 5555:5000 # Expose Gunbot web UI: host:container
environment:
- TZ=Europe/Vienna # Timezone for logs and scheduling
- PGID=1024 # Group ID for file permissions
- PUID=100 # User ID for file permissions
networks:
gunbotnetwork:
aliases:
- gunbot # Shortcut hostname inside the network
volumes:
- /etc/localtime:/etc/localtime:ro # Sync host time settings
- /etc/TZ:/etc/timezone:ro # Sync host timezone
- ./binance_data:/data # Persist Gunbot configuration and trades