Package legacy database in application image
This commit is contained in:
+3
-4
@@ -17,8 +17,9 @@ services:
|
||||
|
||||
telcoportal:
|
||||
build:
|
||||
context: ./TelcoPortal-source
|
||||
dockerfile: Dockerfile
|
||||
# Use the repository root so the tracked legacy database is packaged into the image.
|
||||
context: .
|
||||
dockerfile: TelcoPortal-source/Dockerfile
|
||||
container_name: telcoportal
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
@@ -28,8 +29,6 @@ services:
|
||||
- "8092:8000"
|
||||
volumes:
|
||||
- telco-app-data:/app/data
|
||||
# Read-only source for the automatic first-run SQLite import.
|
||||
- ./data:/app/legacy-data:ro
|
||||
environment:
|
||||
TELCO_DATA_DIR: /app/data
|
||||
TELCO_DB_HOST: db
|
||||
|
||||
Reference in New Issue
Block a user