-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (33 loc) · 1.51 KB
/
docker-compose.yml
File metadata and controls
39 lines (33 loc) · 1.51 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
services:
acore:
# Use the pre-built image from GitHub
# To build from source locally, uncomment 'build: .' and comment 'image: ...'
# build: .
image: ghcr.io/dev-blaze/azerothcore-docker:main
container_name: azerothcore
restart: unless-stopped
# Expose necessary ports
ports:
- "3724:3724" # Auth Server (Login)
- "8085:8085" # World Server (Game)
- "3306:3306" # MySQL Database (Optional: for external tools/backups)
# Persist data to the host machine
volumes:
- ./acore-data/mysql:/var/lib/mysql # Database files
- ./acore-data/build:/azerothcore/build # Build cache (speeds up recompile)
- ./acore-data/env:/azerothcore/env # Server binaries, configs, and data
- ./acore-data/modules:/modules-mount # Custom modules drop-in folder
# Enable interactive mode (required for tmux sessions to work properly)
tty: true
stdin_open: true
# Environment variables configuration
environment:
- TERM=xterm-256color # Ensure proper terminal colors
# Remote MySQL User Configuration (Optional)
# Define these in .env to allow external database access (e.g., for Velld backup)
- MYSQL_REMOTE_USER=${MYSQL_REMOTE_USER:-}
- MYSQL_REMOTE_PASSWORD=${MYSQL_REMOTE_PASSWORD:-}
- MYSQL_REMOTE_IP=${MYSQL_REMOTE_IP:-}
# Mods Configuration (Optional)
# Space-separated list of git URLs to auto-install
- AC_MODS=${AC_MODS:-}