Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] hey i just got a server working using docker and want to try adding modules. do i just need to add t

[DiscordArchive] hey i just got a server working using docker and want to try adding modules. do i just need to add t

[DiscordArchive] hey i just got a server working using docker and want to try adding modules. do i just need to add t

rektbyfaith
Administrator
0
10-02-2023, 10:03 PM
#1
Archived author: leveler • Posted: 2023-10-02T22:03:25.691000+00:00
Original source

hey i just got a server working using docker and want to try adding modules. do i just need to add the modules to what i already have and build again? or should i prune/redownload everything and start from a fresh slate?
rektbyfaith
10-02-2023, 10:03 PM #1

Archived author: leveler • Posted: 2023-10-02T22:03:25.691000+00:00
Original source

hey i just got a server working using docker and want to try adding modules. do i just need to add the modules to what i already have and build again? or should i prune/redownload everything and start from a fresh slate?

rektbyfaith
Administrator
0
10-03-2023, 12:02 AM
#2
Archived author: MATU • Posted: 2023-10-03T00:02:59.023000+00:00
Original source

Is it possible to add an icon to the docker containers for unraid.
At the moment all my azerothcore containers have no icon in unraid.

It is because they have not been installed with the unraid community applications. I think I found the scripts that create these docker containers in the server files:
EXAMPLE:

docker-cmd.sh

`build)
set -x
docker compose --profile local --profile dev --profile dev-build build
docker compose --profile dev-build run --rm --no-deps ac-dev-build /bin/bash /azerothcore/apps/docker/docker-build-dev.sh
set +x
shift
;;`

I just installed a random docker in unraid and found some stuff in the log files of unraid how unraid usually adds a docker:

`docker run
-d
--name='x-mariohtml5'
--net='bridge'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="mServer"
-e HOST_CONTAINERNAME="x-mariohtml5"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:80]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/xavier-hernandez/unraid-templates/master/resources/mario.png'
-p '8929:80/tcp' 'xavierh/mariohtml5'
c539fd3d12441770cef5b2e1a4f999ddfd61556888ee346b918b9e5058ed0104

The command finished successfully!`


Can the parameter -l net.unraid.docker.icon=' {URL} ' somehow be added to the command that azerothcore uses to create these dockers? I mean it's just a little cosmetic thing for my unraid UI but it would be nice if that was possible somehow
rektbyfaith
10-03-2023, 12:02 AM #2

Archived author: MATU • Posted: 2023-10-03T00:02:59.023000+00:00
Original source

Is it possible to add an icon to the docker containers for unraid.
At the moment all my azerothcore containers have no icon in unraid.

It is because they have not been installed with the unraid community applications. I think I found the scripts that create these docker containers in the server files:
EXAMPLE:

docker-cmd.sh

`build)
set -x
docker compose --profile local --profile dev --profile dev-build build
docker compose --profile dev-build run --rm --no-deps ac-dev-build /bin/bash /azerothcore/apps/docker/docker-build-dev.sh
set +x
shift
;;`

I just installed a random docker in unraid and found some stuff in the log files of unraid how unraid usually adds a docker:

`docker run
-d
--name='x-mariohtml5'
--net='bridge'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="mServer"
-e HOST_CONTAINERNAME="x-mariohtml5"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:80]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/xavier-hernandez/unraid-templates/master/resources/mario.png'
-p '8929:80/tcp' 'xavierh/mariohtml5'
c539fd3d12441770cef5b2e1a4f999ddfd61556888ee346b918b9e5058ed0104

The command finished successfully!`


Can the parameter -l net.unraid.docker.icon=' {URL} ' somehow be added to the command that azerothcore uses to create these dockers? I mean it's just a little cosmetic thing for my unraid UI but it would be nice if that was possible somehow

rektbyfaith
Administrator
0
10-03-2023, 12:09 AM
#3
Archived author: MATU • Posted: 2023-10-03T00:09:44.427000+00:00
Original source

Here, that you can see what I mean :
[Image: image.png?ex=690be748&is=690a95c8&hm=d96...a8418ebbc&]
rektbyfaith
10-03-2023, 12:09 AM #3

Archived author: MATU • Posted: 2023-10-03T00:09:44.427000+00:00
Original source

Here, that you can see what I mean :
[Image: image.png?ex=690be748&is=690a95c8&hm=d96...a8418ebbc&]

rektbyfaith
Administrator
0
10-03-2023, 01:14 AM
#4
Archived author: mynameismeat • Posted: 2023-10-03T01:14:57.773000+00:00
Original source

I think there's a "labels" parameter in docker compose, so you could add something like


```yaml
services:
ac-worldserver:
labels:
Foo: bar
```
rektbyfaith
10-03-2023, 01:14 AM #4

Archived author: mynameismeat • Posted: 2023-10-03T01:14:57.773000+00:00
Original source

I think there's a "labels" parameter in docker compose, so you could add something like


```yaml
services:
ac-worldserver:
labels:
Foo: bar
```

rektbyfaith
Administrator
0
10-03-2023, 01:21 AM
#5
Archived author: mynameismeat • Posted: 2023-10-03T01:21:57.887000+00:00
Original source

I can confirm in like 30 min
rektbyfaith
10-03-2023, 01:21 AM #5

Archived author: mynameismeat • Posted: 2023-10-03T01:21:57.887000+00:00
Original source

I can confirm in like 30 min

rektbyfaith
Administrator
0
10-03-2023, 01:49 AM
#6
Archived author: mynameismeat • Posted: 2023-10-03T01:49:08.250000+00:00
Original source

yeah , doc is here

<https://docs.docker.com/compose/compose-file/compose-file-v3/#labels-2>
rektbyfaith
10-03-2023, 01:49 AM #6

Archived author: mynameismeat • Posted: 2023-10-03T01:49:08.250000+00:00
Original source

yeah , doc is here

<https://docs.docker.com/compose/compose-file/compose-file-v3/#labels-2>

rektbyfaith
Administrator
0
10-03-2023, 01:50 AM
#7
Archived author: mynameismeat • Posted: 2023-10-03T01:50:06.288000+00:00
Original source

yeah. Basically just clone the module to `modules` and build again. Should be good to go after that. The process is exactly like it is without docker, except a different build command, of course
rektbyfaith
10-03-2023, 01:50 AM #7

Archived author: mynameismeat • Posted: 2023-10-03T01:50:06.288000+00:00
Original source

yeah. Basically just clone the module to `modules` and build again. Should be good to go after that. The process is exactly like it is without docker, except a different build command, of course

rektbyfaith
Administrator
0
10-03-2023, 02:12 AM
#8
Archived author: leveler • Posted: 2023-10-03T02:12:11.273000+00:00
Original source

thanks. i also noticed in the docker instructions it says "If the added module makes use of configurations files you'll have to place them in the azerothcore-wotlk/env/docker/etc/modules". is this meaning that i need to place the entire module folder there instead of azerorthcore-wotlk/modules. or do i just put the conf file in that location (ie transmog.conf.dist)?
rektbyfaith
10-03-2023, 02:12 AM #8

Archived author: leveler • Posted: 2023-10-03T02:12:11.273000+00:00
Original source

thanks. i also noticed in the docker instructions it says "If the added module makes use of configurations files you'll have to place them in the azerothcore-wotlk/env/docker/etc/modules". is this meaning that i need to place the entire module folder there instead of azerorthcore-wotlk/modules. or do i just put the conf file in that location (ie transmog.conf.dist)?

rektbyfaith
Administrator
0
10-03-2023, 02:37 AM
#9
Archived author: mynameismeat • Posted: 2023-10-03T02:37:22.777000+00:00
Original source

Yeah, that should be done automatically on build, but if not, the second (so `env/dist/etc/modules/transmog.conf.dist`)
rektbyfaith
10-03-2023, 02:37 AM #9

Archived author: mynameismeat • Posted: 2023-10-03T02:37:22.777000+00:00
Original source

Yeah, that should be done automatically on build, but if not, the second (so `env/dist/etc/modules/transmog.conf.dist`)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)