feat(ci): set database location to local folder
This commit is contained in:
@@ -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:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user