1 Star 0 Fork 76

小乖/FreedomCore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3.2'
services:
ac-database:
image: azerothcore/database
restart: unless-stopped
build:
context: .
dockerfile: ./docker/database/Dockerfile
networks:
- ac-network
ports:
- ${DB_EXTERNAL_PORT:-3306}:3306
environment:
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:-password}
volumes:
- type: volume
source: ac-database
target: /var/lib/mysql
ac-worldserver:
stdin_open: true
tty: true
image: azerothcore/worldserver
restart: unless-stopped
privileged: true
build:
context: ./docker/worldserver
dockerfile: Dockerfile
networks:
- ac-network
ports:
- ${WORLD_EXTERNAL_PORT:-8085}:8085
- ${SOAP_EXTERNAL_PORT:-7878}:7878
volumes:
- type: bind
source: ./docker/worldserver/bin
target: /azeroth-server/bin
- type: bind
source: ${WORLDSERVER_ETC:-./docker/worldserver/etc}
target: /azeroth-server/etc
- type: bind
source: ${WORLDSERVER_LOGS:-./docker/worldserver/logs}
target: /azeroth-server/logs
- type: bind
source: ${WORLDSERVER_DATA:-./docker/worldserver/data}
target: /azeroth-server/data
depends_on:
- ac-database
ac-authserver:
image: azerothcore/authserver
restart: unless-stopped
build:
context: ./docker/authserver
dockerfile: Dockerfile
networks:
- ac-network
ports:
- ${AUTH_EXTERNAL_PORT:-3724}:3724
volumes:
- type: bind
source: ./docker/authserver/bin
target: /azeroth-server/bin
- type: bind
source: ${AUTHSERVER_ETC:-./docker/authserver/etc}
target: /azeroth-server/etc
- type: bind
source: ${AUTHSERVER_LOGS:-./docker/authserver/logs}
target: /azeroth-server/logs
depends_on:
- ac-database
volumes:
ac-database:
networks:
ac-network:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/liangyu/FreedomCore.git
git@gitee.com:liangyu/FreedomCore.git
liangyu
FreedomCore
FreedomCore
master

搜索帮助