Home / Documentation / Configuration Guide

Docker Deployment

Quick deployment

Pull the image

docker pull neurova/neurova:latest

Start the container

docker run -d \
  -p 80:80 \
  -v /path/to/data:/app/data \
  -v /path/to/config:/app/config \
  -e NEUROVA_DB_PASSWORD=your_secure_password \
  --name neurova \
  neurova/neurova:latest

docker-compose

Configuration file

services:
  neurova:
    image: neurova/neurova:latest
    ports:
      - "80:80"
      - "443:443"
    environment:
      - NEUROVA_DB_PASSWORD=
      - NEUROVA_SESSION_SECRET=
    volumes:
      - ./data:/app/data
      - ./config:/app/config
      - ./logs:/app/logs
    restart: unless-stopped
```
### The .env file
NEUROVA_DB_PASSWORD=your_secure_password
NEUROVA_SESSION_SECRET=your_session_secret
### Start the services
docker-compose up -d
## Data persistence ### Mounted directories | Directory | Contents | |------|------| | /app/data | Database and data files | | /app/config | Configuration files | | /app/logs | Log files | ## Upgrading ### Upgrade the version
docker-compose pull
docker-compose up -d
### Back up the data
# back up the database
cp -r /path/to/data /backup/data-$(date +%Y%m%d)