Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How did you modify the `authserver.conf`? What does the `docker-compose.override.yml` look like?

[DiscordArchive] How did you modify the `authserver.conf`? What does the `docker-compose.override.yml` look like?

[DiscordArchive] How did you modify the `authserver.conf`? What does the `docker-compose.override.yml` look like?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
10-05-2023, 04:08 PM
#1
Archived author: mynameismeat • Posted: 2023-10-05T16:08:00.211000+00:00
Original source

How did you modify the `authserver.conf`? What does the `docker-compose.override.yml` look like?
rektbyfaith
10-05-2023, 04:08 PM #1

Archived author: mynameismeat • Posted: 2023-10-05T16:08:00.211000+00:00
Original source

How did you modify the `authserver.conf`? What does the `docker-compose.override.yml` look like?

rektbyfaith
Administrator
0
10-05-2023, 04:11 PM
#2
Archived author: Meatsack • Posted: 2023-10-05T16:11:15.894000+00:00
Original source

Yeah I think you're right! It's so odd to have the build recognize that the module is there so it moves the conf.dist but when starting acore, worldserver completely ignores it's presence
rektbyfaith
10-05-2023, 04:11 PM #2

Archived author: Meatsack • Posted: 2023-10-05T16:11:15.894000+00:00
Original source

Yeah I think you're right! It's so odd to have the build recognize that the module is there so it moves the conf.dist but when starting acore, worldserver completely ignores it's presence

rektbyfaith
Administrator
0
10-05-2023, 04:14 PM
#3
Archived author: Meatsack • Posted: 2023-10-05T16:14:51.367000+00:00
Original source

One thing I did notice, which I'm a docker noob so maybe it's nothing. But I don't see the modules directoy mounted to the world server in docker desktop, I haven't chased that down yet though
rektbyfaith
10-05-2023, 04:14 PM #3

Archived author: Meatsack • Posted: 2023-10-05T16:14:51.367000+00:00
Original source

One thing I did notice, which I'm a docker noob so maybe it's nothing. But I don't see the modules directoy mounted to the world server in docker desktop, I haven't chased that down yet though

rektbyfaith
Administrator
0
10-05-2023, 04:15 PM
#4
Archived author: Meatsack • Posted: 2023-10-05T16:15:34.258000+00:00
Original source

And I was looking at the docker desktop gui, not that dockerc-compose.yml file
rektbyfaith
10-05-2023, 04:15 PM #4

Archived author: Meatsack • Posted: 2023-10-05T16:15:34.258000+00:00
Original source

And I was looking at the docker desktop gui, not that dockerc-compose.yml file

rektbyfaith
Administrator
0
10-05-2023, 04:15 PM
#5
Archived author: mynameismeat • Posted: 2023-10-05T16:15:34.782000+00:00
Original source

The modules directory doesn't necessarily need to be mounted, since that's all source code
rektbyfaith
10-05-2023, 04:15 PM #5

Archived author: mynameismeat • Posted: 2023-10-05T16:15:34.782000+00:00
Original source

The modules directory doesn't necessarily need to be mounted, since that's all source code

rektbyfaith
Administrator
0
10-05-2023, 04:15 PM
#6
Archived author: Meatsack • Posted: 2023-10-05T16:15:43.566000+00:00
Original source

Ahhh okay
rektbyfaith
10-05-2023, 04:15 PM #6

Archived author: Meatsack • Posted: 2023-10-05T16:15:43.566000+00:00
Original source

Ahhh okay

rektbyfaith
Administrator
0
10-05-2023, 04:22 PM
#7
Archived author: Eyeheartpie • Posted: 2023-10-05T16:22:28.978000+00:00
Original source

changes to authserver.conf:

```WrongPass.MaxCount = 3
WrongPass.BanTime = 60
WrongPass.BanType = 0
WrongPass.Logging = 1
BanExpiryCheckInterval = 60
```

docker-compose.override.yml:
```version: '3.9'

services:
ac-worldserver:
volumes:
- ./conf/worldserver.conf:/azerothcore/env/dist/etc/worldserver.conf
- ./conf/authserver.conf:/azerothcore/env/dist/etc/authserver.conf
- ./conf/dbimport.conf:/azerothcore/env/dist/etc/dbimport.conf```
rektbyfaith
10-05-2023, 04:22 PM #7

Archived author: Eyeheartpie • Posted: 2023-10-05T16:22:28.978000+00:00
Original source

changes to authserver.conf:

```WrongPass.MaxCount = 3
WrongPass.BanTime = 60
WrongPass.BanType = 0
WrongPass.Logging = 1
BanExpiryCheckInterval = 60
```

docker-compose.override.yml:
```version: '3.9'

services:
ac-worldserver:
volumes:
- ./conf/worldserver.conf:/azerothcore/env/dist/etc/worldserver.conf
- ./conf/authserver.conf:/azerothcore/env/dist/etc/authserver.conf
- ./conf/dbimport.conf:/azerothcore/env/dist/etc/dbimport.conf```

rektbyfaith
Administrator
0
10-05-2023, 04:23 PM
#8
Archived author: Eyeheartpie • Posted: 2023-10-05T16:23:07.442000+00:00
Original source

and the modified conf files live in `./conf/`
rektbyfaith
10-05-2023, 04:23 PM #8

Archived author: Eyeheartpie • Posted: 2023-10-05T16:23:07.442000+00:00
Original source

and the modified conf files live in `./conf/`

rektbyfaith
Administrator
0
10-05-2023, 04:31 PM
#9
Archived author: mynameismeat • Posted: 2023-10-05T16:31:38.098000+00:00
Original source

2 main things I see

you're editing `authserver.conf` but the `docker-compose.override.yml` that you're passing in is targeting `ac-worldserver`

You don't need to use a conf file, I find it easier to use env vars instead. Personal preference of course, but I would do something like this for the `docker-compose.override.yml`

```yaml
version: '3'
services:
ac-authserver:
environment:
AC_WRONG_PASS_MAX_COUNT: "3"
AC_WRONG_PASS_BAN_TIME: "60"
AC_WRONG_PASS_BAN_TYPE: "0"
AC_WRONG_PASS_LOGGING: "1"
AC_BAN_EXPIRY_CHECK_INTERVAL: "60"
```
rektbyfaith
10-05-2023, 04:31 PM #9

Archived author: mynameismeat • Posted: 2023-10-05T16:31:38.098000+00:00
Original source

2 main things I see

you're editing `authserver.conf` but the `docker-compose.override.yml` that you're passing in is targeting `ac-worldserver`

You don't need to use a conf file, I find it easier to use env vars instead. Personal preference of course, but I would do something like this for the `docker-compose.override.yml`

```yaml
version: '3'
services:
ac-authserver:
environment:
AC_WRONG_PASS_MAX_COUNT: "3"
AC_WRONG_PASS_BAN_TIME: "60"
AC_WRONG_PASS_BAN_TYPE: "0"
AC_WRONG_PASS_LOGGING: "1"
AC_BAN_EXPIRY_CHECK_INTERVAL: "60"
```

rektbyfaith
Administrator
0
10-05-2023, 04:36 PM
#10
Archived author: Foe • Posted: 2023-10-05T16:36:10.940000+00:00
Original source

Always use env vars
rektbyfaith
10-05-2023, 04:36 PM #10

Archived author: Foe • Posted: 2023-10-05T16:36:10.940000+00:00
Original source

Always use env vars

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)