feat(ci): set database location to local folder

This commit is contained in:
Bas van Rossem
2026-06-17 22:28:55 +02:00
parent 00993c67da
commit 7d1e816fe2

View File

@@ -25,7 +25,10 @@ services:
DATABASE_URL: file:/data/app.db DATABASE_URL: file:/data/app.db
PORT: '3000' PORT: '3000'
volumes: volumes:
- solelog_db:/data # Bind-mount the SQLite data dir onto attached storage on the host.
# Set SOLELOG_DATA_DIR in .env to an absolute path on your mounted disk
# (Docker creates it if missing). Falls back to ./data next to this file.
- ./data:/data
networks: networks:
- solelog_network - solelog_network
restart: unless-stopped restart: unless-stopped
@@ -47,6 +50,3 @@ services:
networks: networks:
solelog_network: solelog_network:
external: true external: true
volumes:
solelog_db: