Installation
Sections
Premiers pas
Installation
Installation avec Docker Compose
Prérequis
- Docker 24+ et Docker Compose v2
- 4 Go de RAM minimum (8 Go recommandés)
- 20 Go d'espace disque SSD
Installation
git clone https://github.com/altiusone/altiusone.git
cd altiusone
cp .env.example .env
Configuration du fichier .env
Éditez le fichier .env avec vos paramètres :
POSTGRES_DB=altiusone
POSTGRES_USER=altiusone
POSTGRES_PASSWORD=votre_mot_de_passe_securise
DJANGO_SECRET_KEY=votre_cle_secrete
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,votre-domaine.ch
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=votre_mot_de_passe_minio
REDIS_URL=redis://redis:6379/0
Lancement
docker compose up -d
docker compose exec django python manage.py migrate
docker compose exec django python manage.py createsuperuser
docker compose exec django python manage.py init_permissions
docker compose exec django python manage.py init_ontologie
Services déployés
| Service | Port | URL |
|---|---|---|
| Application | 8080 | http://localhost:8080 |
| MinIO Console | 9001 | http://localhost:9001 |
| Nextcloud | 8888 | http://localhost:8888 |
Accédez à http://localhost:8080 et connectez-vous.