[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?
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?
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
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
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
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
Archived author: Meatsack • Posted: 2023-10-05T16:15:43.566000+00:00
Original source
Ahhh okay
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```
Archived author: Eyeheartpie • Posted: 2023-10-05T16:23:07.442000+00:00
Original source
and the modified conf files live in `./conf/`
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"
```
Archived author: Foe • Posted: 2023-10-05T16:36:10.940000+00:00
Original source
Always use env vars