Browse Source

minor enhancements

devel
Rohan Sircar 1 year ago
parent
commit
bbdd9b9abd
  1. 2
      .env
  2. 2
      .gitignore
  3. 5
      Cargo.toml
  4. 2
      Dockerfile
  5. BIN
      app.db
  6. 0
      db/empty.db

2
.env

@ -1,3 +1,3 @@
DATABASE_URL=test.db
DATABASE_URL=app.db
BIND_ADDRESS=127.0.0.1:7800
HASH_COST=8

2
.gitignore

@ -1,4 +1,4 @@
/target
.idea
.vscode
/test.db
/app_db.db

5
Cargo.toml

@ -70,8 +70,3 @@ features = ['serde']
# version = '0.9.0'
# default-features = false
# features = ['config']
[build.env]
passthrough = [
"RUST_BACKTRACE",
]

2
Dockerfile

@ -35,7 +35,7 @@ RUN groupadd $APP_USER \
COPY ./.env ${APP}/.env
COPY ./migrations ${APP}/migrations
COPY ./static ${APP}/static
COPY ./db/test.db ${APP}/test.db
COPY ./db/empty.db ${APP}/app.db
COPY --from=builder /actix-demo/target/release/actix-demo ${APP}/actix-demo
RUN chown -R $APP_USER:$APP_USER ${APP}

BIN
app.db

0
db/test.db → db/empty.db

Loading…
Cancel
Save