WisdomSky / CasaOS-Coolstore

Just an another CasaOS third-party Appstore with ❄Cool❄ apps.
155 stars 8 forks source link

how can i change the password for the wireguard server #12

Closed NikoAnd closed 1 year ago

NikoAnd commented 1 year ago

the defualt password for the wireguard server is casaos. is there any way to change this?

WisdomSky commented 1 year ago

Hi @NikoAnd,

As of right now, CasaOS has no method of changing the default password for the wireguard server.

What you can do is copy wireguard's docker-compose.yml file and save it in a directory somewhere in your homeserver:

https://github.com/WisdomSky/CasaOS-Coolstore/blob/main/Apps/wg-easy/docker-compose.yml

And then edit the file and change the value of the PASSWORD property under the environments section and then save.

You can then install this docker-compose.yml manually using the following command:

casaos-cli app-management install -f /path/to/docker-compose.yml

Hope this helps.

WisdomSky commented 1 year ago

Closing this issue as solved.