Access
Open your browser and go to: http://<SERVER_IP> (HTTP)
Admin credentials are automatically generated and stored in the /opt/invoiceninja/.env file.
- Email →
IN_USER_EMAIL - Password →
IN_PASSWORD
Get credentials from .env:
grep IN_ /opt/invoiceninja/.env
Admin email and password can be updated through the web interface after logging in.
Components
- Invoice Ninja (app)
- Nginx (web server)
- MySQL (database)
- Redis (cache & queues)
Important Files and Directories
- Install directory:
/opt/invoiceninja - Docker Compose:
/opt/invoiceninja/docker-compose.yml - Environment file:
/opt/invoiceninja/.env - Nginx configs:
/opt/invoiceninja/nginx/ - PHP configs:
/opt/invoiceninja/php/ - Supervisor configs:
/opt/invoiceninja/supervisor/ - App public:
/var/lib/docker/volumes/invoiceninja_app_public/_data - App storage:
/var/lib/docker/volumes/invoiceninja_app_storage/_data - MySQL data:
/var/lib/docker/volumes/invoiceninja_mysql_data/_data - Redis data:
/var/lib/docker/volumes/invoiceninja_redis_data/_data
Manage the Stack
Go to the installation directory:
cd /opt/invoiceninja
Common Docker Compose commands:
# Check status
docker compose ps
# View logs (follow live)
docker compose logs -f
# Restart all services
docker compose restart
# Stop services
docker compose down
# Start again
docker compose up -d