Commit Graph

31 Commits

Author SHA1 Message Date
Yehonal
380f406248 Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure:

**Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after.  The reason is that we use now docker named volumes instead of binded ones to improve performance.

**Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. 

Finally, you can cleanup the /docker folder previously used by our system.

## Changes Proposed:

This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes.

* Implemented support for vscode dev-container feature by remote-extension suite
* Docker performance optimizations for MacOS and non-linux hosts
* Bash system improvements
* Implemented first command using Deno runtime environment (typescript) and [commander.js]
* Implemented wait mechanism for db_assembler
* Implemented db migration command
* possibility to run the authserver and worldserver with GDB using the integrated simple-restarter
* Implemented docker multi-stage mechanism to use one single Dockerfile for all the services
* client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times
* deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
2021-04-22 09:57:05 +02:00
Francesco Borzì
5244b8d7ad chore: add ./apps/joiner/ to .gitignore (#3318)
* chore: add apps/joiner/ to .gitignore

* chore(wip): wip

* chore(wip): wip
2020-09-03 12:02:28 +02:00
Erdem MEYDANLI
9e5c3f78af test: add code coverage report (#3312) 2020-08-18 16:34:45 +02:00
Francesco Borzì
c2b40b126d feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Yehonal
ad6ad094de feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro

* refactor: refactoring for dist files
2020-08-06 02:37:14 +02:00
h0lysp4nk
f72788446f fix(Docker): Persistent volumes for ac-database (#2947) 2020-05-24 12:35:55 +02:00
Francesco Borzì
1b62af3e14 fix(Docker): no need to duplicate *.dist files (#1551) 2019-03-03 02:00:22 +01:00
Francesco Borzì
e659ca5fe9 feat(docker): add cache for faster rebuild (#1507)
- Closes #1502
2019-02-23 17:34:56 +01:00
Francesco Borzì
b578bce1d1 Make the Docker installation easy
See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
2019-01-16 20:44:02 +01:00
Francesco Borzì
3e0866cfe1 Added Jetbrains to .gitignore & readme 2019-01-15 21:10:06 +01:00
Francesco Borzì
0e87deb416 Several improvements to Docker:
- ability to reload configuration files without building again the images
- faster images building
- corrected a mistake
- logs are saved to the main host
2019-01-13 02:38:04 +01:00
Francesco Borzì
7bff043a1b AzerothCore complete Docker solution
Check https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker for all details.
2019-01-12 21:48:33 +01:00
Barbz
51086f2dcd Modules: Added create_module.sh script to kickstart module creation (#1071)
Helps people to create modules with the right base files.
2018-12-19 18:03:27 +01:00
Yehonal
8d2ff6b9b0 Update .gitignore 2018-01-28 13:42:51 +01:00
Yehonal
0fc4a6a153 Missing folder 2017-10-13 20:20:15 +02:00
Yehonal
bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal
070f15458b improved gitignore for modules 2016-11-18 11:15:57 +01:00
Yehonal
54bd100573 Project restructuring conforming to the new software layers [PART.1] 2016-08-22 12:47:57 +02:00
Yehonal
e1c87e7510 Some minor changes 2016-08-19 09:29:26 +02:00
Yehonal
ff6201921c created hw-core bash libraries
will be traited as a git subtree
2016-08-13 20:32:21 +02:00
Yehonal
0f85ce1c54 Big re-organization of repository [W.I.P] 2016-08-11 20:25:27 +02:00
Yehonal
47c2b72123 Merging 2016-08-07 12:47:10 +02:00
Yehonal
5b824569a9 [CORE] Rewritten ScriptMgr to be initialized before server load
Now ScriptMgr can be initialized before config allowing

to create scripts that can change the behaviour of

server before loading anything
2016-08-07 12:28:17 +02:00
Yehonal
648163a2e0 Fixed .gitignore to support modules inclusion 2016-08-07 12:24:00 +02:00
Yehonal
765fad6133 some fixes to bash config files 2016-08-07 12:10:51 +02:00
Yehonal
d1b8eea42f configuration system for cmake
- moved cmake options under conf
and created default/custom configuration system for cmake
2016-08-07 12:02:55 +02:00
ShinDarth
68e0035ad9 Added VS Code system file to the .gitignore 2016-07-24 16:59:46 +02:00
Yehonal
a816d11f74 ignoring bash compiler configuration 2016-07-10 17:12:50 +02:00
Yehonal
9e19774c45 ignoring IDE & other softwares specific files 2016-07-10 17:11:44 +02:00
mik1893
d8b67c27cc Add GitIgnore 2016-06-26 12:51:16 +01:00