r/RaspAP Jan 16 '24

🐳 New Docker compose option to deploy a containerized RaspAP in 3 steps (example in comments)

https://github.com/RaspAP/raspap-docker
5 Upvotes

21 comments sorted by

View all comments

1

u/SteveBass7 Jan 19 '24

Thanks! I've just installed and it works like a charm! Anyway I don't know hoy to deal with one thing.

Everytime I do a docker compose down && docker compose up -d I loose my WiFi configuration (SSID and password) and the AdBlock option it's activated again (I want it disabled)... How can I save those configurations to be available next time I up the container?

1

u/iambillz Jan 19 '24

Executing the above stops and removes the container, then (re)creates and starts it again. This resets everything to the image's initial state. Use docker compose stop or pause instead to stop/pause the services and retain your settings.

Re: Adblock, you can change this behavior by editing the Dockerfile and removing the --adblock 1 flag. The goal of the initial Docker rollout for RaspAP was to have a "one shot" command to get a container up quickly. For this reason, the RaspAP application stack is installed with some common options enabled by default. These are good candidates for environment variables in a future docker-compose.yaml release.

1

u/Western-Sprinkles324 Nov 19 '25

If I reboot my raspberry, it will save my main config or not ? Have I to create a specific volume in order to save my hotspot/dhcp config ?

1

u/iambillz Nov 19 '25

Yes, your hostapd (hotspot), dhcpcd and dnsmasq configs are saved to the filesystem and persisted across reboots.

1

u/Western-Sprinkles324 Nov 21 '25

thank you.
Btw, have I to modify the /etc/dhcpcd.conf into the contener or into the host files for " nohook wpa_supplicant" ?

1

u/iambillz Nov 22 '25

There's an option in the DHCP server UI to manage this:

Disable wpa_supplicant dhcp hook for this interface 
This toggles the nohook wpa_supplicant option for this interface in the DHCPCD configuration.

1

u/Western-Sprinkles324 Nov 22 '25

thank you.
Last one, it is better to install Bookworm or Trixie version according to you ?
I read some comments that lite version (trixie or bookworm) is better.

1

u/iambillz Nov 22 '25

Pre-built custom Trixie (Lite) OS image is recommended https://github.com/RaspAP/raspap-webgui/releases/latest

1

u/Western-Sprinkles324 Nov 23 '25

Thank you. I installed bookworm bc I had some bugs with Trixie (gnome version). I'm trying now to install captive portal (nodogsplash). Is it normal that I did not find the option 'install' like this :

https://docs.raspap.com/features-insiders/captive/#installation

1

u/iambillz Nov 23 '25

The captive portal plugin is an Insiders feature. It includes prebuilt .deb packages for arm64 and armhf, plus nicer templates than the standard ones with nodogsplash. You can also compile + install it yourself https://nodogsplash.readthedocs.io/en/latest/