This guide uses Docker to run OpenWISP.
For Docker installation, see Docker.
Create a directory to store your configuration and compose files.
mkdir -p /opt/openwisp
cd /opt/openwisp
OpenWISP requires multiple services. Create a docker-compose.yml:
services:
openwisp-controller:
image: openwisp/openwisp-controller:latest
ports:
- "8000:8000"
environment:
- DJANGO_SETTINGS_MODULE=openwisp.settings
- DATABASE_URL=postgres://openwisp:openwisp@db:5432/openwisp
depends_on:
- db
- redis
volumes:
- ./static:/opt/openwisp/static
db:
image: postgres:15
environment:
- POSTGRES_DB=openwisp
- POSTGRES_USER=openwisp
- POSTGRES_PASSWORD=openwisp
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
image: redis:alpine
volumes:
postgres_data:
Start all containers in the background.
docker compose up -d
Open http://your-server-ip:8000 in your browser.
Any questions?
Feel free to contact us. Find all contact information on our contact page.