~mser/vmangos-docker

ref: 48065c3cb48745a5c517212abc7529946f876baa vmangos-docker/docker-compose.yml.example -rw-r--r-- 2.0 KiB
48065c3cMichael Serajnik Fix repository path determination under macOS 4 months ago
                                                                                
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
version: '3.7'

services:
  vmangos_database:
    container_name: vmangos_database
    build:
      context: .
      dockerfile: docker/database/Dockerfile
    restart: unless-stopped
    volumes:
      - vmangos_database:/var/lib/mysql
      - ./src/core/sql:/opt/vmangos/sql
      - ./src/world_database:/opt/vmangos/sql/world_database
      - ./backup:/backup
    environment:
      - TZ=Etc/UTC
      - MYSQL_ROOT_PASSWORD=password
      - VMANGOS_WORLD=world_full_14_june_2021
      - VMANGOS_REALM_NAME=vmangos
      - VMANGOS_REALM_IP=127.0.0.1
      - VMANGOS_REALM_PORT=8085
      - VMANGOS_REALM_ICON= 1
      - VMANGOS_REALM_FLAGS=0
      - VMANGOS_TIMEZONE=1
      - VMANGOS_ALLOWED_SECURITY_LEVEL=0
      - VMANGOS_POPULATION=0
      - VMANGOS_GAMEBUILD_MIN=0
      - VMANGOS_GAMEBUILD_MAX=0
      - VMANGOS_FLAG=2

  vmangos_realmd:
    container_name: vmangos_realmd
    build:
      context: .
      dockerfile: docker/realmd/Dockerfile
    depends_on:
      - vmangos_database
    restart: unless-stopped
    ports:
      - 3724:3724
    volumes:
      - ./config/realmd.conf:/opt/vmangos/etc/realmd.conf:ro
    environment:
      - TZ=Etc/UTC
      - WAIT_HOSTS=vmangos_database:3306
      - WAIT_TIMEOUT=120
      - VMANGOS_USER_ID=1000
      - VMANGOS_GROUP_ID=1000

  vmangos_mangos:
    container_name: vmangos_mangos
    tty: true
    stdin_open: true
    ports:
      - 8085:8085
    build:
      context: .
      dockerfile: docker/mangos/Dockerfile
    depends_on:
      - vmangos_database
    restart: unless-stopped
    volumes:
      - ./config/mangosd.conf:/opt/vmangos/etc/mangosd.conf:ro
      - ./src/data/5875:/opt/vmangos/bin/5875:ro
      - ./src/data/maps:/opt/vmangos/bin/maps:ro
      - ./src/data/mmaps:/opt/vmangos/bin/mmaps:ro
      - ./src/data/vmaps:/opt/vmangos/bin/vmaps:ro
    environment:
      - TZ=Etc/UTC
      - WAIT_HOSTS=vmangos_database:3306
      - WAIT_TIMEOUT=120
      - VMANGOS_USER_ID=1000
      - VMANGOS_GROUP_ID=1000

volumes:
  vmangos_database: