change db storage

master
lza_menace 2 years ago
parent cbdcff8b7f
commit 3b01dfc051

@ -1,5 +1,5 @@
docker-monero-node
lws-web
lwsadmin
monero-lws
.env
.git
@ -8,3 +8,5 @@ docker-compose.yaml
env.example
Makefile
README.md
.venv
*.db

@ -3,7 +3,7 @@ from datetime import datetime
from peewee import *
db = SqliteDatabase('lws.db')
db = SqliteDatabase('data/lws.db')
class User(Model):

@ -24,7 +24,7 @@ services:
DEBUG: 0
network_mode: host
volumes:
- lwsadmin:/srv/lwsadmin
- lwsadmin:/srv/lwsadmin/data
user: "1000:1000"
command:
./.venv/bin/poetry run start

@ -27,7 +27,7 @@ services:
ports:
- 127.0.0.1:5000:5000
volumes:
- lwsadmin:/srv/lwsadmin
- lwsadmin:/srv/lwsadmin/data
user: "1000:1000"
command:
./.venv/bin/poetry run start

Loading…
Cancel
Save