diff options
author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-01-16 20:44:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 20:44:02 +0100 |
commit | b578bce1d1b7de2254ec2aacb19bed40a0732997 (patch) | |
tree | 70f9e657c06bdc997650884722c6816287da309a /docker-compose.yml | |
parent | 7599624fdffc168825ecda2d888ed8a514186818 (diff) |
Make the Docker installation easy
See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000..49b53fe068 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,61 @@ +version: '3.2' + +services: + + ac-database: + image: azerothcore/database + build: + context: . + dockerfile: ./docker/database/Dockerfile + networks: + - ac-network + ports: + - ${DB_EXTERNAL_PORT:-3306}:3306 + environment: + - MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:-password} + + ac-worldserver: + stdin_open: true + tty: true + image: azerothcore/worldserver + build: + context: ./docker/worldserver + dockerfile: Dockerfile + networks: + - ac-network + ports: + - ${WORLD_EXTERNAL_PORT:-8085}:8085 + volumes: + - 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 + build: + context: ./docker/authserver + dockerfile: Dockerfile + networks: + - ac-network + ports: + - ${AUTH_EXTERNAL_PORT:-3724}:3724 + volumes: + - 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 + +networks: + ac-network: |