Updating docker entrypoint to initialize the database

This commit is contained in:
2025-09-06 15:24:02 -04:00
parent 6d12ce25d3
commit 5eca8e08b1
5 changed files with 79 additions and 10 deletions

View File

@@ -10,6 +10,9 @@
2. **Edit `.env` with your configuration:**
- Set `IGDB_CLIENT_ID` and `IGDB_SECRET_KEY` (required)
- Set `ROMS_PATH` to your ROM collection directory
- Set `DOSVAULT_ADMIN_USERNAME` to you admin username
- Set `DOSVAULT_ADMIN_EMAIL` to your admin email
- Set `DOSVAULT_ADMIN_PASSWORD` to your admin password
- Optionally customize host/port settings
3. **Start the application:**
@@ -58,7 +61,7 @@ Configuration changes made through the web interface are automatically persisted
### Initialize Database
```bash
docker-compose exec dosvault python src/migrate.py db-init
docker-compose exec dosvault python src/migrate.py init
```
### Run Migrations
@@ -106,4 +109,4 @@ docker-compose exec dosvault bash
```bash
docker-compose down -v
docker-compose up -d
```
```