29 Commits

Author SHA1 Message Date
Jelle Meeus
5bc512f75c
chore(Docker): Update dev container to ubuntu24.04 (#21044) 2025-01-19 12:46:28 +01:00
Mike Delago
288d70e58e
docker-compose: ac-database: bump to mysql LTS (#20976) 2024-12-19 19:38:55 +01:00
Evgeny
752c6875b5
fix(Docker): Fix env name for data volume (#20337) 2024-10-30 12:32:12 +01:00
Mike Delago
dd0e6262d1
chore(Docker): update docker compose file schema (#18686) 2024-05-18 18:16:40 +02:00
privatecore
c8abb8c73e
fix(Docker): Fix docker compose build failed when using USER with UID:GID != 1000 (#18731) 2024-04-13 14:12:02 -04:00
Ezeki Zibzibadze
028835619b
chore(Docker): update mysql image to 8.3 version (#18244) 2024-02-01 10:05:12 -03:00
Mike Delago
c4dc20a814
refactor(Docker): remove prod container distinction (#17419)
* refactor(Docker): remove prod containers

* workflows: use buildx

* properly set tags

* comment in Dockerfile

* set docker build context

* minor CI changes

* CI: docker build args shouldnt have quotes

* CI: using matrix and caching is too much work

* CI: I hate yaml

* CI: It was a typo

* CI: extra build removed

* CI: appease the linter

* fixup! CI: appease the linter

* fixup! CI: appease the linter

* apps: docker: remove extraneous files
2023-10-15 17:47:09 +02:00
Mike Delago
06a2f4093c
fix(Apps/Docker): ensure env var is used for db password (#17050) 2023-08-22 12:10:25 +02:00
Mike Delago
f241a6e352
feat(Apps/Docker): Use Env Vars for docker configuration (#17040)
* feat(docker): Use Env Vars for docker configuration

use env vars for docker

* simplify docker-compose.yaml
2023-08-20 17:52:38 +02:00
Yehonal
0ab6207472
chore(CI): removed cache_from client-data 2022-11-08 00:23:09 +01:00
Yehonal
170de50c9a
chore(CI/docker): disable BUILDKIT_INLINE_CACHE 2022-11-08 00:17:57 +01:00
Yehonal
8533b54997 fix(CI/docker): checkout the entire history
Restored old cache_from
2022-11-07 23:55:15 +01:00
Yehonal
2e6dcae940 fix(CI/docker): try to fix the missing space issue 2022-11-07 23:38:59 +01:00
Yehonal
cff814d235 fix(CI/docker): optimize runtime space 2022-11-07 22:27:23 +01:00
Yehonal
c2d23b3578 feat(CORE/docker): try to leverage inline cache 2022-11-07 21:08:49 +01:00
Yehonal
e0313219e3 feat(CORE/docker): cachebust for the client data 2022-11-07 17:30:00 +01:00
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