diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..611d70d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM moreu:latest + +ENV APP_HOME /zpan +WORKDIR $APP_HOME + +RUN curl -sSf https://dl.saltbo.cn/install.sh | sh -s zpan + +CMD ["zpan", "server"] diff --git a/deployments/zpan.yml b/deployments/zpan.yml index 32d1dd6..9dc9ce1 100644 --- a/deployments/zpan.yml +++ b/deployments/zpan.yml @@ -8,8 +8,8 @@ email: password: mGxxxxxxxxxxh9 database: - driver: mysql - dsn: root:admin@tcp(127.0.0.1:3306)/zpan?charset=utf8&parseTime=True&loc=Local + driver: sqlite3 + dsn: zpan.db provider: name: oss