v0.2.93
This commit is contained in:
1 parent
b85201889e
commit
b035648b81
21 files changed
+318
-73
No files matched your search
+2
-1
@@ -37,13 +37,14 @@ COPY --from=builder /app/migrations ./migrations
|
||||
USER rustpad
|
||||
ENV APP_HOST=0.0.0.0 \
|
||||
APP_PORT=3000 \
|
||||
FILES_PORT=3001 \
|
||||
DATABASE_URL=sqlite:///data/db/rustpad.db?mode=rwc \
|
||||
DATABASE_MAX_CONNECTIONS=8 \
|
||||
STATIC_DIR=/app/static \
|
||||
FILES_DIR=/data/files \
|
||||
RUST_LOG=rustpad=info,tower_http=info
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000 3001
|
||||
VOLUME ["/data"]
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD curl --fail --silent http://127.0.0.1:3000/health || exit 1
|
||||
|
||||
Reference in new issue
Block a user