chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM debian:buster
|
||||
COPY htyws/target/release/htyws /root/htyws
|
||||
COPY htyws/container/*.sh /root/
|
||||
COPY htyws/config/log4rs.yaml /root/config/
|
||||
ARG OPERATOR
|
||||
ARG OPERATOR_PWD
|
||||
ARG FORM_API_KEY
|
||||
ENV OPERATOR=$OPERATOR
|
||||
ENV OPERATOR_PWD=$OPERATOR_PWD
|
||||
ENV FORM_API_KEY=$FORM_API_KEY
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y libpq-dev
|
||||
RUN ls /root
|
||||
RUN /root/setup.sh
|
||||
ENTRYPOINT /root/init.sh
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
#supervisord && supervisorctl start htyws
|
||||
cd /root; ./htyws
|
||||
sh
|
||||
@@ -0,0 +1,21 @@
|
||||
FROM ghcr.io/alchemy-studio-robot/htybasic
|
||||
COPY htycommons ./htycommons
|
||||
COPY htyws ./htyws
|
||||
RUN cd htyws; cargo build --release
|
||||
|
||||
FROM debian:buster
|
||||
# copy boot program generated from above container
|
||||
COPY --from=0 /htyws/target/release/htyws /root/htyws
|
||||
# copy scripts file
|
||||
COPY htyws/container/*.sh /root/
|
||||
COPY htyws/config/log4rs.yaml /root/config/
|
||||
ARG OPERATOR
|
||||
ARG OPERATOR_PWD
|
||||
ARG FORM_API_KEY
|
||||
ENV OPERATOR=$OPERATOR
|
||||
ENV OPERATOR_PWD=$OPERATOR_PWD
|
||||
ENV FORM_API_KEY=$FORM_API_KEY
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y libpq-dev
|
||||
RUN /root/setup.sh
|
||||
ENTRYPOINT /root/init.sh
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
chmod a+x /root/htyws
|
||||
Reference in New Issue
Block a user