13 Commits

Author SHA1 Message Date
Yehonal
e4016823d7
feat(CORE): docker permissions and rework (#13454)
- fix docker permissions with mounted volumes on new docker versions (https://github.com/docker/desktop-linux/issues/31)
- fix ac-tools image
- cleanup unused env
- add  `cap_add: SYS_NICE` to allow setting process high priority
- fix ccache in docker
- allow to switch between root user (default) to acore user in any container
- fix cache of the downloaded client data
- split docker github actions in 2 parts
- versioning mysql images
- performance improvements
2022-11-07 13:20:48 +01:00
Yehonal
636df19514
feat(CORE): implemented AC_DISABLE_INTERACTIVE for DBUpdater (#13450)
Implement AC_DISABLE_INTERACTIVE that allow us to skip the question when the db doesn't exit
2022-10-19 10:57:29 +02:00
Yehonal
e189caeb76
feat(docker): implemented dbimport (#13308)
## Changes Proposed:

- Implemented dbimport with docker
- deprecated db_assembler
- Fixed deno scripts and integrated them with the CI
2022-10-05 13:15:42 +02:00
marcelhas
7001865186
Fix start scripts (#8005)
* fix(Bash): Handle missing env variable

Bash installation failed when no explicit `zipPath` was set.
As it defaulted to `/`, which led to permission errors.

* fix(Docker): Fix docker volume error

Docker installation failed, because target directories of volumes should
not end with a `/`.

https://stackoverflow.com/questions/68273745/how-to-make-a-mount-shared-in-docker/68455665#68455665
2021-10-01 10:33:35 +02:00
Yehonal
f6c6123d85
feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Yehonal
e4fafc61dd
fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
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
Patrick Lewis
d0958c7636
fix(Docker): fix Priority class denied (#3295) 2020-09-02 12:33:54 +02:00
Wai Yan Min
8e2e27d3cc
feat(Core/Docker): Enable SOAP for external usage (#3003)
* Enable SOAP for Docker and External Usage.
2020-05-25 02:02:06 +02:00
h0lysp4nk
1fc82e7f16
feat(Docker): Container healthchecks (#2951) 2020-05-24 20:18:46 +02:00
h0lysp4nk
f72788446f
fix(Docker): Persistent volumes for ac-database (#2947) 2020-05-24 12:35:55 +02: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