Files
TrinityCore/docker-compose.yml

46 lines
947 B
YAML

version: "3.7"
services:
worldserver:
image: trinitycore-worldserver
build:
context: ./worldserver
ports:
- "3443:3443/tcp"
- "8085:8085/tcp"
environment:
MYSQL_HOST: db
MYSQL_PORT: 3306
MYSQL_ADMIN_USER: root
MYSQL_ADMIN_PASS: root
MYSQL_USER: trinity
MYSQL_PASS: trinity
volumes:
- trinitycore-data:/usr/local/data
tty: true
authserver:
image: trinitycore-authserver
build:
context: ./authserver
ports:
- "3724:3724/tcp"
environment:
MYSQL_HOST: db
MYSQL_PORT: 3306
MYSQL_ADMIN_USER: root
MYSQL_ADMIN_PASS: root
MYSQL_USER: trinity
MYSQL_PASS: trinity
tty: true
db:
image: mariadb:10
ports:
- "127.0.0.1:3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- mysql-data:/var/lib/mysql
volumes:
trinitycore-data:
external: true
mysql-data: